Skip to content

Commit

Permalink
Merge pull request #89080 from knz/backport22.1-89077
Browse files Browse the repository at this point in the history
  • Loading branch information
knz authored Sep 30, 2022
2 parents 568c2df + f728c1e commit 825232c
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 @@ -294,7 +294,7 @@ func (sr *StoreRebalancer) rebalanceStore(
// cluster-level overfull threshold of QPS.
qpsMaxThreshold := overfullQPSThreshold(options, allStoresList.candidateQueriesPerSecond.mean)
if !(localDesc.Capacity.QueriesPerSecond > qpsMaxThreshold) {
log.Infof(ctx, "local QPS %.2f is below max threshold %.2f (mean=%.2f); no rebalancing needed",
log.VEventf(ctx, 1, "local QPS %.2f is below max threshold %.2f (mean=%.2f); no rebalancing needed",
localDesc.Capacity.QueriesPerSecond, qpsMaxThreshold, allStoresList.candidateQueriesPerSecond.mean)
return
}
Expand Down

0 comments on commit 825232c

Please sign in to comment.