Skip to content

Commit 179a255

Browse files
committed
kvserver: remove redundant "too little" log line
The log line `rXXX's load is too little to matter.. ` was duplicated with `Infof` and `VEventf(ctx,5)`. This was redundant. Remove the `Infof` log line. Epic: none Release note: None
1 parent c986d84 commit 179a255

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pkg/kv/kvserver/store_rebalancer.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -865,14 +865,6 @@ func (sr *StoreRebalancer) chooseRangeToRebalance(
865865
rctx.LocalDesc.StoreID,
866866
rctx.LocalDesc.Capacity.Load(),
867867
)
868-
log.KvDistribution.Infof(
869-
ctx,
870-
"r%d's %s load is too little to matter relative to s%d's %s total load",
871-
candidateReplica.GetRangeID(),
872-
candidateReplica.RangeUsageInfo().Load(),
873-
rctx.LocalDesc.StoreID,
874-
rctx.LocalDesc.Capacity.Load(),
875-
)
876868
continue
877869
}
878870

0 commit comments

Comments
 (0)