milvus/internal/querycoordv2/balance
wei liu 9ae4945df2
fix: query node may stuck at stopping progress (#33104) (#33154)
issue: #33103 
pr: #33104
when try to do stopping balance for stopping query node, balancer will
try to get node list from replica.GetNodes, then check whether node is
stopping, if so, stopping balance will be triggered for this replica.

after the replica refactor, replica.GetNodes only return rwNodes, and
the stopping node maintains in roNodes, so balancer couldn't find
replica which contains stopping node, and stopping balance for replica
won't be triggered, then query node will stuck forever due to
segment/channel doesn't move out.

---------

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-05-20 15:01:43 +08:00
..
balance_test.go fix: Skip to load l0 segment on old version query node (#32124) 2024-04-15 11:23:23 +08:00
balance.go enhance: Enable channel exclusive balance policy (#32911) 2024-05-10 17:27:31 +08:00
channel_level_score_balancer_test.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
channel_level_score_balancer.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
mock_balancer.go enhance: Add restful api for devops to execute rolling upgrade (#29998) 2024-03-27 16:15:19 +08:00
multi_target_balance.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +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: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
rowcount_based_balancer.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
score_based_balancer_test.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
score_based_balancer.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
utils.go enhance: reduce the cpu usage when collection number is high (#32245) 2024-04-26 11:49:25 +08:00