Skip to content

Commit

Permalink
util: change log level to debug calculating stale read ts (#47309)
Browse files Browse the repository at this point in the history
close #47308
  • Loading branch information
cfzjywxk committed Oct 8, 2023
1 parent 5f1b43e commit a98a02c
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 @@ -6684,7 +6684,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 a98a02c

Please sign in to comment.