mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
[skip ci] Add Comments for exported datacoord.Server methods (#11797)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
parent
a2c761b865
commit
513ea9fa40
@ -264,14 +264,17 @@ func (s *Server) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest
|
||||
return s.dataCoord.GetMetrics(ctx, req)
|
||||
}
|
||||
|
||||
// CompleteCompaction completes a compaction with the result
|
||||
func (s *Server) CompleteCompaction(ctx context.Context, req *datapb.CompactionResult) (*commonpb.Status, error) {
|
||||
return s.dataCoord.CompleteCompaction(ctx, req)
|
||||
}
|
||||
|
||||
// ManualCompaction triggers a compaction for a collection
|
||||
func (s *Server) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) {
|
||||
return s.dataCoord.ManualCompaction(ctx, req)
|
||||
}
|
||||
|
||||
// GetCompactionState gets the state of a compaction
|
||||
func (s *Server) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) {
|
||||
return s.dataCoord.GetCompactionState(ctx, req)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user