milvus/internal/querycoordv2/balance
wei liu 06df9b8462
fix: Balance segment/channel won't be trigger on multi replicas (#31107)
issue: #30983 #30982

cause balancer call wrong interface to get segment/channel list in
replica, then got a wrong average segment/channel number, which make
each node have less segment/channel than average, and the balance won't
be trigger in multi replica case.

This PR fix that balance segment/channel won't be trigger on multi
replicas

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-03-11 20:35:04 +08:00
..
balance_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
balance.go enhance: make balance cost threshold configurable (#30636) 2024-02-19 15:24:50 +08:00
mock_balancer.go Remove parser dependency (#27514) 2023-10-08 15:05:31 +08:00
multi_target_balance.go enhance: refactor segment dist manager interface (#31073) 2024-03-08 16:29:01 +08:00
multi_target_balancer_test.go fix: Remove balance plan of which From, To nodes are same when merging (#30634) 2024-02-18 17:24:50 +08:00
OWNERS Add OWNERS files for querycoordv2 sub pkgs (#23489) 2023-04-18 15:52:30 +08:00
priority_queue_test.go enhance segment balance by considering global rowCount(##22914) (#23056) 2023-04-03 14:16:25 +08:00
priority_queue.go
rowcount_based_balancer_test.go fix: Balance segment/channel won't be trigger on multi replicas (#31107) 2024-03-11 20:35:04 +08:00
rowcount_based_balancer.go fix: Balance segment/channel won't be trigger on multi replicas (#31107) 2024-03-11 20:35:04 +08:00
score_based_balancer_test.go fix: Balance segment/channel won't be trigger on multi replicas (#31107) 2024-03-11 20:35:04 +08:00
score_based_balancer.go fix: Balance segment/channel won't be trigger on multi replicas (#31107) 2024-03-11 20:35:04 +08:00
utils.go enhance: refactor segment dist manager interface (#31073) 2024-03-08 16:29:01 +08:00