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
  • Loading branch information
ti-chi-bot authored Oct 8, 2023
1 parent 753fb3d commit f114d1c
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 @@ -6643,7 +6643,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 f114d1c

Please sign in to comment.