From 4f7c8319d0c84f5dc862db6a3740e76ec2270463 Mon Sep 17 00:00:00 2001 From: cfzjywxk Date: Wed, 27 Sep 2023 10:02:56 +0800 Subject: [PATCH] change log level to debug calculating stale read ts --- 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 e26b6e0f01dc6..b672b7c1e8214 100644 --- a/expression/builtin_time.go +++ b/expression/builtin_time.go @@ -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))