mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Cherry-pick from master pr: #39841 Related to #39840 The target could be updated async in previous code. This PR make remove collection from target observer block until all tasks related in dispatchers are removed preventing the metrics being updated after collection released. --------- Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>