[skip ci] Add comment for ReleaseCollection (#11445)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/11459/head
dragondriver 2021-11-08 20:34:16 +08:00 committed by GitHub
parent b9375e62f9
commit d8aa86ca0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -340,6 +340,7 @@ func (node *Proxy) LoadCollection(ctx context.Context, request *milvuspb.LoadCol
return lct.result, nil
}
// ReleaseCollection remove the loaded collection from query nodes.
func (node *Proxy) ReleaseCollection(ctx context.Context, request *milvuspb.ReleaseCollectionRequest) (*commonpb.Status, error) {
if !node.checkHealthy() {
return unhealthyStatus(), nil