Skip to content

Commit cbcdebd

Browse files
enable scoreBasedBalancer default(#23454) (#23805)
Signed-off-by: MrPresent-Han <jamesharden11122@gmail.com>
1 parent a234e52 commit cbcdebd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configs/milvus.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ queryCoord:
180180
port: 19531
181181
autoHandoff: true # Enable auto handoff
182182
autoBalance: true # Enable auto balance
183-
balancer: RowCountBasedBalancer # Balancer to use
183+
balancer: ScoreBasedBalancer # Balancer to use
184184
globalRowCountFactor: 0.1 # expert parameters, only used by scoreBasedBalancer
185185
scoreUnbalanceTolerationFactor: 0.05 # expert parameters, only used by scoreBasedBalancer
186186
reverseUnBalanceTolerationFactor: 1.3 #expert parameters, only used by scoreBasedBalancer

internal/util/paramtable/component_param.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ func (p *queryCoordConfig) initCheckNodeInReplicaInterval() {
985985
}
986986

987987
func (p *queryCoordConfig) initBalancer() {
988-
balancer := p.Base.LoadWithDefault("queryCoord.balancer", "RowCountBasedBalancer")
988+
balancer := p.Base.LoadWithDefault("queryCoord.balancer", "ScoreBasedBalancer")
989989
p.Balancer = balancer
990990
}
991991

0 commit comments

Comments
 (0)