mirror of https://github.com/milvus-io/milvus.git
enhance: Change frequent balancer debug log to rated one (#35749)
"skip balance" log is too frequent in debug level. This PR changes it into rated on. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/35738/head
parent
985d84d3ee
commit
86691656f3
|
@ -129,7 +129,7 @@ func (b *BalanceChecker) replicasToBalance() []int64 {
|
|||
hasUnbalancedCollection := false
|
||||
for _, cid := range loadedCollections {
|
||||
if b.normalBalanceCollectionsCurrentRound.Contain(cid) {
|
||||
log.Debug("ScoreBasedBalancer is balancing this collection, skip balancing in this round",
|
||||
log.RatedDebug(10, "ScoreBasedBalancer is balancing this collection, skip balancing in this round",
|
||||
zap.Int64("collectionID", cid))
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue