diff --git a/internal/types/types.go b/internal/types/types.go index faddca3cc4..022a875d29 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -58,7 +58,7 @@ type DataNode interface { // GetMetrics gets the metrics about DataNode. GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) - + // Compaction will add a compaction task according to the request plan Compaction(ctx context.Context, req *datapb.CompactionPlan) (*commonpb.Status, error) }