From 9daf9dce1aa8f8171a0516c356fa3dc7667dd675 Mon Sep 17 00:00:00 2001 From: sunby Date: Sat, 18 Sep 2021 16:47:56 +0800 Subject: [PATCH] Add comment for flush (#8151) Signed-off-by: sunby --- internal/distributed/datacoord/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/datacoord/service.go b/internal/distributed/datacoord/service.go index 9e59dbf95d..8e3de469eb 100644 --- a/internal/distributed/datacoord/service.go +++ b/internal/distributed/datacoord/service.go @@ -194,6 +194,7 @@ func (s *Server) GetSegmentInfo(ctx context.Context, req *datapb.GetSegmentInfoR return s.dataCoord.GetSegmentInfo(ctx, req) } +// Flush flushes a collection's data func (s *Server) Flush(ctx context.Context, req *datapb.FlushRequest) (*datapb.FlushResponse, error) { return s.dataCoord.Flush(ctx, req) }