From adea19352c312e1c415bced76509babc002bcf4c Mon Sep 17 00:00:00 2001 From: Bingyi Sun Date: Wed, 10 Nov 2021 23:57:38 +0800 Subject: [PATCH] [skip ci]Add comment for CompleteCompaction (#11597) Signed-off-by: sunby Co-authored-by: sunby --- internal/datacoord/services.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/datacoord/services.go b/internal/datacoord/services.go index 1d2a712717..272c2bf14f 100644 --- a/internal/datacoord/services.go +++ b/internal/datacoord/services.go @@ -614,6 +614,7 @@ func (s *Server) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest }, nil } +// CompleteCompaction completes a compaction with the result func (s *Server) CompleteCompaction(ctx context.Context, req *datapb.CompactionResult) (*commonpb.Status, error) { log.Debug("receive complete compaction request", zap.Int64("planID", req.PlanID), zap.Int64("segmentID", req.GetSegmentID()))