mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
fix: [2.6]Search before kill coord to ensure proxy init shard leader cache (#45849)
issue: #45847 master pr: #45848 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
a5008ea509
commit
feffbf90d2
@ -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