From 130b969be3ce3ef227c5fde352026dc3d4ee6ce8 Mon Sep 17 00:00:00 2001 From: Tobias Grieger Date: Thu, 27 Jul 2023 12:28:41 +0200 Subject: [PATCH] kvserver: downgrade "unable to transfer lease" log It doesn't rise up to "ERROR" level and also doesn't need to log a large stack trace. Seen while looking into #106140. Epic: none Release note: None --- pkg/kv/kvserver/store_rebalancer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kv/kvserver/store_rebalancer.go b/pkg/kv/kvserver/store_rebalancer.go index f8ef553c1e95..64c95fa50558 100644 --- a/pkg/kv/kvserver/store_rebalancer.go +++ b/pkg/kv/kvserver/store_rebalancer.go @@ -513,7 +513,7 @@ func (sr *StoreRebalancer) applyLeaseRebalance( candidateReplica.RangeUsageInfo(), ) }); err != nil { - log.KvDistribution.Errorf(ctx, "unable to transfer lease to s%d: %+v", target.StoreID, err) + log.KvDistribution.Infof(ctx, "unable to transfer lease to s%d: %v", target.StoreID, err) return false } return true