[skip ci] Add comment for Flush (#11904)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
dragondriver 2021-11-16 19:23:40 +08:00 committed by GitHub
parent b0f268e087
commit b265ac0dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1557,6 +1557,7 @@ func (node *Proxy) Search(ctx context.Context, request *milvuspb.SearchRequest)
return qt.result, nil
}
// Flush notify data nodes to persist the data of collection.
func (node *Proxy) Flush(ctx context.Context, request *milvuspb.FlushRequest) (*milvuspb.FlushResponse, error) {
resp := &milvuspb.FlushResponse{
Status: &commonpb.Status{