Fix sealed segments ids unmatch after load balance (#21190)

Signed-off-by: nico <cheng.yuan@zilliz.com>

Signed-off-by: nico <cheng.yuan@zilliz.com>
pull/21208/head
NicoYuan1986 2022-12-13 19:39:21 +08:00 committed by GitHub
parent b01546edd3
commit 18d546e6a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1528,6 +1528,7 @@ class TestUtilityAdvanced(TestcaseBase):
collection_w.insert(df)
collection_w.load()
# prepare load balance params
time.sleep(0.5)
res, _ = self.utility_wrap.get_query_segment_info(c_name)
segment_distribution = cf.get_segment_distribution(res)
all_querynodes = [node["identifier"] for node in ms.query_nodes]