Skip to content

Commit

Permalink
kvserver: downgrade "unable to transfer lease" log
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tbg committed Jul 27, 2023
1 parent c10ca05 commit 130b969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/store_rebalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 130b969

Please sign in to comment.