未验证 提交 0ecf2045 编写于 作者: J Jiquan Long 提交者: GitHub

Fix dml stream leakage in Proxy (#19486)

Signed-off-by: Nlongjiquan <jiquan.long@zilliz.com>
Signed-off-by: Nlongjiquan <jiquan.long@zilliz.com>
上级 ec5c2c03
......@@ -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),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册