milvus/internal/querycoordv2/balance
wei liu 06b191b164
fix: Balance channel stuck forever due to logic dead lock (#31202)
issue: #30816

cause balance channel will stuck until leader view catch up the current
target, then start to unsub the old delegator. which make sure that the
new delegator can provide search before release old delegator. but
another logic in segment_checker skip loading segment during balance
channel. so during balance channel, if query node crash, new delegator
can't catch up target forever, then stuck forever.

This PR remove the rule that skip loading segment during balance channel
to avoid the logic dead lock here.

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-03-13 15:05: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 fix: Balance channel stuck forever due to logic dead lock (#31202) 2024-03-13 15:05:04 +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 Add license header (#19678) 2022-10-11 11:39:22 +08:00
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 channel stuck forever due to logic dead lock (#31202) 2024-03-13 15:05: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 channel stuck forever due to logic dead lock (#31202) 2024-03-13 15:05:04 +08:00
utils.go enhance: refactor segment dist manager interface (#31073) 2024-03-08 16:29:01 +08:00