From 69f1dc7ad1b7247c316097d6977b3586e5e65cc6 Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Wed, 11 Oct 2023 14:14:23 -0700 Subject: [PATCH] internal/locate: change some retryable error logs to debug level Signed-off-by: Jack Yu --- internal/locate/region_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/locate/region_request.go b/internal/locate/region_request.go index 7d2aaf82e..72c159eee 100644 --- a/internal/locate/region_request.go +++ b/internal/locate/region_request.go @@ -2125,7 +2125,7 @@ func (s *RegionRequestSender) onRegionError( if s.replicaSelector != nil { return s.replicaSelector.onServerIsBusy(bo, ctx, req, serverIsBusy) } - logutil.Logger(bo.GetCtx()).Warn( + logutil.Logger(bo.GetCtx()).Debug( "tikv reports `ServerIsBusy` retry later", zap.String("reason", regionErr.GetServerIsBusy().GetReason()), zap.Stringer("ctx", ctx), @@ -2232,7 +2232,7 @@ func (s *RegionRequestSender) onRegionError( // This error is specific to stale read and the target replica is randomly selected. If the request is sent // to the leader, the data must be ready, so we don't backoff here. if regionErr.GetDataIsNotReady() != nil { - logutil.Logger(bo.GetCtx()).Warn( + logutil.Logger(bo.GetCtx()).Debug( "tikv reports `DataIsNotReady` retry later", zap.Uint64("store-id", ctx.Store.storeID), zap.Uint64("peer-id", regionErr.GetDataIsNotReady().GetPeerId()),