Skip to content

Commit

Permalink
Merge #107690
Browse files Browse the repository at this point in the history
107690: kvserver: downgrade "unable to transfer lease" log r=kvoli a=tbg

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


Co-authored-by: Tobias Grieger <[email protected]>
  • Loading branch information
craig[bot] and tbg committed Jul 27, 2023
2 parents 5102969 + 130b969 commit b76a900
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 b76a900

Please sign in to comment.