From 0c33bc04f6779c03026df09ceca8e50ca5c81130 Mon Sep 17 00:00:00 2001 From: sunby Date: Mon, 8 Nov 2021 21:33:46 +0800 Subject: [PATCH] [skip ci]Add comment for ManualCompaction (#11462) Signed-off-by: sunby --- internal/types/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/types/types.go b/internal/types/types.go index 6a3ce88f9a..32c1b5a713 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -224,6 +224,7 @@ type DataCoord interface { GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) // CompleteCompaction completes a compaction with the result CompleteCompaction(ctx context.Context, req *datapb.CompactionResult) (*commonpb.Status, error) + // ManualCompaction triggers a compaction for a collection ManualCompaction(ctx context.Context, req *datapb.ManualCompactionRequest) (*datapb.ManualCompactionResponse, error) GetCompactionState(ctx context.Context, req *datapb.GetCompactionStateRequest) (*datapb.GetCompactionStateResponse, error) }