mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix dml stream leakage in Proxy (#19486)
Signed-off-by: longjiquan <jiquan.long@zilliz.com> Signed-off-by: longjiquan <jiquan.long@zilliz.com>
This commit is contained in:
parent
ec5c2c03f5
commit
0ecf2045ed
@ -115,6 +115,10 @@ func (node *Proxy) InvalidateCollectionMetaCache(ctx context.Context, request *p
|
||||
globalMetaCache.RemoveCollectionsByID(ctx, collectionID)
|
||||
}
|
||||
}
|
||||
|
||||
// err is ignored, since this Proxy may not create dml stream for the collection.
|
||||
_ = node.chMgr.removeDMLStream(collectionID)
|
||||
|
||||
logutil.Logger(ctx).Info("complete to invalidate collection meta cache",
|
||||
zap.String("role", typeutil.ProxyRole),
|
||||
zap.String("db", request.DbName),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user