milvus/internal/querycoordv2/checkers
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_checker_test.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
balance_checker.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
channel_checker_test.go enhance: declarative resource group api (#31930) 2024-04-15 08:13:19 +08:00
channel_checker.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
checker.go enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
controller_base_test.go enhance: refactor leader_observer to leader_checker (#29454) 2024-01-05 15:54:55 +08:00
controller_test.go enhance: declarative resource group api (#31930) 2024-04-15 08:13:19 +08:00
controller.go fix: Skip generate balance task when target not ready (#30724) 2024-02-23 10:32:53 +08:00
index_checker_test.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
index_checker.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
leader_checker_test.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
leader_checker.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00
OWNERS Add OWNERS files for querycoordv2 sub pkgs (#23489) 2023-04-18 15:52:30 +08:00
segment_checker_test.go fix: Skip to load l0 segment on old version query node (#32124) 2024-04-15 11:23:23 +08:00
segment_checker.go fix: query node may stuck at stopping progress (#33104) (#33154) 2024-05-20 15:01:43 +08:00