Skip to content

Commit

Permalink
Fix excessive WARN message (pingcap#10)
Browse files Browse the repository at this point in the history
Co-authored-by: artem_danilov <artem_danilov@airbnb.com>
  • Loading branch information
2 people authored and GitHub Enterprise committed Sep 27, 2023
1 parent 79400bf commit c8e912e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion expression/builtin_time.go
Original file line number Diff line number Diff line change
Expand Up @@ -6636,7 +6636,7 @@ func CalAppropriateTime(minTime, maxTime, minSafeTime time.Time) time.Time {
// and with it, a read request won't fail because it's bigger than the latest SafeTS.
func calAppropriateTime(minTime, maxTime, minSafeTime time.Time) time.Time {
if minSafeTime.Before(minTime) || minSafeTime.After(maxTime) {
logutil.BgLogger().Warn("calAppropriateTime",
logutil.BgLogger().Debug("calAppropriateTime",
zap.Time("minTime", minTime),
zap.Time("maxTime", maxTime),
zap.Time("minSafeTime", minSafeTime))
Expand Down

0 comments on commit c8e912e

Please sign in to comment.