From b265ac0dd749b6d24dfbbc80ee6f2dc45a94fcd1 Mon Sep 17 00:00:00 2001 From: dragondriver Date: Tue, 16 Nov 2021 19:23:40 +0800 Subject: [PATCH] [skip ci] Add comment for Flush (#11904) Signed-off-by: dragondriver --- internal/proxy/impl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/proxy/impl.go b/internal/proxy/impl.go index 67c4b57b84..538de821e8 100644 --- a/internal/proxy/impl.go +++ b/internal/proxy/impl.go @@ -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{