Skip to content

Commit

Permalink
change log level to debug calculating stale read ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cfzjywxk committed Sep 27, 2023
1 parent 56a1af7 commit 4f7c831
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 4f7c831

Please sign in to comment.