mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 10:15:43 +00:00
Issue: #51065 pr: #51066 This backports the channel-level score balancer default enablement to 2.6. Changes: - Enable `queryCoord.balancer` with `ChannelLevelScoreBalancer` by default. - Set `queryCoord.channelExclusiveNodeFactor` to `3`, so channel exclusive mode requires at least three RW QueryNodes per channel on average. - Add coverage for the default balancer factory behavior and the default channel-exclusive threshold. - Add the channel exclusive mode design document under `docs/design-docs`. Backport notes: - Target branch: `2.6`. - Related master PR: [#51066](https://github.com/milvus-io/milvus/pull/51066). - Applied on top of latest `milvus/2.6` after rebase; no merge conflict handling was needed in this worktree. Validation: - PASS: `GOTOOLCHAIN=go1.25.8 go test -gcflags="all=-N -l" -tags dynamic,test github.com/milvus-io/milvus/pkg/v2/util/paramtable -run TestComponentParam -count=1 -failfast -v` - PASS: `make fmt` with `GO_DIFF_FILES` set to changed Go files. - PASS: `gofumpt` and `gci` on changed Go files. - BLOCKED locally: `make milvus` with temporary Conan 1.66 reaches C++ build but fails on this macOS arm64 environment with linker `Undefined symbols for architecture arm64` in existing C++ build paths. - BLOCKED locally: querycoord Go tests require `internal/core/output`, which was not produced because the local C++ build failed. - BLOCKED locally: `make cppcheck` formats existing 2.6 C++ files in `internal/core` and then fails due dirty C++ baseline; generated C++ formatting changes were reverted. Signed-off-by: Wei Liu <wei.liu@zilliz.com>