diff --git a/configs/milvus.yaml b/configs/milvus.yaml index 84ee4a2257..7dd7f890c8 100644 --- a/configs/milvus.yaml +++ b/configs/milvus.yaml @@ -190,7 +190,7 @@ proxy: queryCoord: 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/pkg/util/paramtable/component_param.go b/pkg/util/paramtable/component_param.go index deaaaaa524..93dd489059 100644 --- a/pkg/util/paramtable/component_param.go +++ b/pkg/util/paramtable/component_param.go @@ -1192,8 +1192,8 @@ func (p *queryCoordConfig) init(base *BaseTable) { p.Balancer = ParamItem{ Key: "queryCoord.balancer", Version: "2.0.0", - DefaultValue: "RowCountBasedBalancer", - PanicIfEmpty: true, + DefaultValue: "ScoreBasedBalancer", + PanicIfEmpty: false, Doc: "auto balancer used for segments on queryNodes", Export: true, }