fix: Release collection delete proxy collection meta (#29854)

pr: https://github.com/milvus-io/milvus/issues/29675

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
pull/29863/head
aoiasd 2024-01-10 21:54:49 +08:00 committed by GitHub
parent 9c8fd5e51d
commit 73cfdab776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -1635,11 +1635,10 @@ func (t *releaseCollectionTask) Execute(ctx context.Context) (err error) {
}
t.result, err = t.queryCoord.ReleaseCollection(ctx, request)
globalMetaCache.RemoveCollection(ctx, t.GetDbName(), t.CollectionName)
if err != nil {
return err
}
SendReplicateMessagePack(ctx, t.replicateMsgStream, t.ReleaseCollectionRequest)
return nil
}