diff --git a/configs/milvus.yaml b/configs/milvus.yaml index d8ab07a9d4..e3137c65b1 100644 --- a/configs/milvus.yaml +++ b/configs/milvus.yaml @@ -180,7 +180,7 @@ queryCoord: port: 19531 autoHandoff: true # Enable auto handoff autoBalance: true # Enable auto balance - balancer: RowCountBasedBalancer # Balancer to use + balancer: ScoreBasedBalancer # Balancer to use globalRowCountFactor: 0.1 # expert parameters, only used by scoreBasedBalancer scoreUnbalanceTolerationFactor: 0.05 # expert parameters, only used by scoreBasedBalancer reverseUnBalanceTolerationFactor: 1.3 #expert parameters, only used by scoreBasedBalancer diff --git a/internal/util/paramtable/component_param.go b/internal/util/paramtable/component_param.go index 86c41243b3..d93e7f3f14 100644 --- a/internal/util/paramtable/component_param.go +++ b/internal/util/paramtable/component_param.go @@ -985,7 +985,7 @@ func (p *queryCoordConfig) initCheckNodeInReplicaInterval() { } func (p *queryCoordConfig) initBalancer() { - balancer := p.Base.LoadWithDefault("queryCoord.balancer", "RowCountBasedBalancer") + balancer := p.Base.LoadWithDefault("queryCoord.balancer", "ScoreBasedBalancer") p.Balancer = balancer }