milvus/internal/querycoordv2/utils
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
..
OWNERS
checker.go
meta.go fix: query node may stuck at stopping progress (#33104) 2024-05-20 10:21:38 +08:00
meta_test.go enhance: Enable channel exclusive balance policy (#32911) 2024-05-10 17:27:31 +08:00
test.go
types.go enhance: use different value to get related data size according to segment type (#33017) 2024-05-14 14:59:33 +08:00
types_test.go fix: set channel checkpoint to delta position (#32878) 2024-05-10 11:51:30 +08:00
util.go enhance: update shard leader cache when leader location changed (#32470) 2024-05-08 10:05:29 +08:00
util_test.go enhance: update shard leader cache when leader location changed (#32470) 2024-05-08 10:05:29 +08:00