mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for types.go - Datacoord.GetFlushedSegments (#10676)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/10693/head
parent
6e86921508
commit
656f9380b1
|
@ -206,6 +206,15 @@ type DataCoord interface {
|
|||
// the root reason is each `SaveBinlogPaths` will overwrite the checkpoint position
|
||||
// if the constraint is broken, the checkpoint position will not be monotonically increasing and the integrity will be compromised
|
||||
SaveBinlogPaths(ctx context.Context, req *datapb.SaveBinlogPathsRequest) (*commonpb.Status, error)
|
||||
|
||||
// GetFlushedSegments returns flushed segment list of requested collection/parition
|
||||
//
|
||||
// ctx is the context to control request deadline and cancellation
|
||||
// req contains the collection/partition id to query
|
||||
// when partition is lesser or equal to 0, all flushed segments of collection will be returned
|
||||
//
|
||||
// response struct `GetFlushedSegmentsResponse` contains flushed segment id list
|
||||
// error is returned only when some communication issue occurs
|
||||
GetFlushedSegments(ctx context.Context, req *datapb.GetFlushedSegmentsRequest) (*datapb.GetFlushedSegmentsResponse, error)
|
||||
|
||||
GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
|
||||
|
|
Loading…
Reference in New Issue