From f114d1c7285bef4396b23bfe1c06bb8563284bda Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Sun, 8 Oct 2023 16:42:22 +0800 Subject: [PATCH] util: change log level to debug calculating stale read ts (#47309) (#47453) close pingcap/tidb#47308 --- expression/builtin_time.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expression/builtin_time.go b/expression/builtin_time.go index a34f9b3611c4b..fee6572518205 100644 --- a/expression/builtin_time.go +++ b/expression/builtin_time.go @@ -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))