Skip to content

enhance: make query view fanout target configurable - #86

Merged
chyezh merged 1 commit into
chyezh:qvfrom
sijie-ni-0214:qv-balance-config-chyezh-qv
Sep 9, 2026
Merged

chyezh merged 1 commit into
chyezh:qvfrom
sijie-ni-0214:qv-balance-config-chyezh-qv

Conversation

@sijie-ni-0214

Copy link
Copy Markdown

What this PR does

Add a refreshable QueryCoord setting for the target number of rows per shard node. The balancer reads the latest value when building each snapshot so later reconciliation cycles use the updated fanout budget.

Cherry-picked from d00d27c537dacc780185d2b04bec84b198f4f3f8 and adapted to preserve the qv branch's existing full-reconciliation configuration semantics.

Related PR: sunby#21

Test Plan

  • git diff --check
  • go test -tags dynamic,test -gcflags="all=-N -l" -count=1 ./util/paramtable -run '^TestComponentParam_QueryViewTargetRowsPerShardNode$'
  • The balancer package test is blocked during linking by the local C++/gRPC library environment.

Add a refreshable QueryCoord setting for the target number of rows per shard node. Read the latest value when building each balancer snapshot so subsequent reconciliation cycles use the updated fanout budget.

Signed-off-by: sijie-ni-0214 <sijie.ni@zilliz.com>
@chyezh
chyezh merged commit 20fc262 into chyezh:qv Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants