[skip ci] Add comment for LoadCollection (#11444)

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

View File

@ -289,6 +289,7 @@ func (node *Proxy) HasCollection(ctx context.Context, request *milvuspb.HasColle
return hct.result, nil return hct.result, nil
} }
// LoadCollection load a collection into query nodes.
func (node *Proxy) LoadCollection(ctx context.Context, request *milvuspb.LoadCollectionRequest) (*commonpb.Status, error) { func (node *Proxy) LoadCollection(ctx context.Context, request *milvuspb.LoadCollectionRequest) (*commonpb.Status, error) {
if !node.checkHealthy() { if !node.checkHealthy() {
return unhealthyStatus(), nil return unhealthyStatus(), nil