milvus/internal/querycoordv2/observers
wei liu a7f6193bfc
fix: query node may stuck at stopping progress (#33104)
issue: #33103 
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 10:21:38 +08:00
..
collection_observer_test.go enhance: Enable channel exclusive balance policy (#32911) 2024-05-10 17:27:31 +08:00
collection_observer.go enhance:Improve load speed (#32898) 2024-05-11 10:29:31 +08:00
leader_cache_observer_test.go enhance: update shard leader cache when leader location changed (#32470) 2024-05-08 10:05:29 +08:00
leader_cache_observer.go enhance: update shard leader cache when leader location changed (#32470) 2024-05-08 10:05:29 +08:00
OWNERS Add OWNERS files for querycoordv2 sub pkgs (#23489) 2023-04-18 15:52:30 +08:00
replica_observer_test.go enhance: Enable channel exclusive balance policy (#32911) 2024-05-10 17:27:31 +08:00
replica_observer.go fix: query node may stuck at stopping progress (#33104) 2024-05-20 10:21:38 +08:00
resource_observer_test.go fix: query node may stuck at stopping progress (#33104) 2024-05-20 10:21:38 +08:00
resource_observer.go fix: query node may stuck at stopping progress (#33104) 2024-05-20 10:21:38 +08:00
target_observer_test.go enhance: Enable channel exclusive balance policy (#32911) 2024-05-10 17:27:31 +08:00
target_observer.go enhance: Refactor leader view manager interface (#31133) 2024-04-10 15:13:36 +08:00
task_dispatcher_test.go fix: make qcv2 observer dispatcher execute exactly once (#28472) 2023-11-16 10:24:19 +08:00
task_dispatcher.go fix: load gets stuck probably (#29191) 2023-12-14 18:28:38 +08:00