mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: Search before kill coord to ensure proxy init shard leader cache (#45848)
issue: #45847 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
471b3e4e09
commit
72d4df582f
@ -285,6 +285,8 @@ func (s *CoordDownSearch) searchAfterCoordDown() float64 {
|
||||
|
||||
start := time.Now()
|
||||
|
||||
// Perform a search first to ensure that the proxy initializes its shard-leader cache.
|
||||
s.search(searchCollectionName, Dim, commonpb.ConsistencyLevel_Bounded)
|
||||
log.Info("=========================Root Coordinators stopped=========================")
|
||||
c.DefaultMixCoord().Stop()
|
||||
s.search(searchCollectionName, Dim, commonpb.ConsistencyLevel_Bounded)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user