Skip to content

Commit

Permalink
Merge pull request #90008 from cockroachdb/blathers/backport-release-…
Browse files Browse the repository at this point in the history
…22.2.0-89996
  • Loading branch information
kvoli authored Oct 17, 2022
2 parents 856b492 + 4b98821 commit 4c9713c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/kv/kvserver/allocator/allocatorimpl/allocator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2206,7 +2206,9 @@ func loadBasedLeaseRebalanceScore(
underfullScore := underfullLeaseThreshold - remoteStore.Capacity.LeaseCount
totalScore := overfullScore + underfullScore

log.KvDistribution.Infof(ctx,
log.KvDistribution.VEventf(
ctx,
2,
"node: %d, sourceWeight: %.2f, remoteWeight: %.2f, remoteLatency: %v, "+
"rebalanceThreshold: %.2f, meanLeases: %.2f, sourceLeaseCount: %d, overfullThreshold: %d, "+
"remoteLeaseCount: %d, underfullThreshold: %d, totalScore: %d",
Expand Down

0 comments on commit 4c9713c

Please sign in to comment.