milvus/internal/querycoordv2/utils
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
..
checker.go enhance: Add restful api for devops to execute rolling upgrade (#29998) 2024-03-27 16:15:19 +08:00
meta_test.go enhance: Enable channel exclusive balance policy (#32911) 2024-05-10 17:27:31 +08:00
meta.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
test.go Use go-api/v2 for milvus-proto (#24770) 2023-06-09 01:28:37 +08:00
types_test.go fix: set channel checkpoint to delta position (#32878) 2024-05-10 11:51:30 +08:00
types.go enhance: use different value to get related data size according to segment type (#33017) 2024-05-14 14:59:33 +08:00
util_test.go enhance: update shard leader cache when leader location changed (#32470) 2024-05-08 10:05:29 +08:00
util.go enhance: update shard leader cache when leader location changed (#32470) 2024-05-08 10:05:29 +08:00