未验证 提交 f170658d 编写于 作者: C congqixia 提交者: GitHub

[skip ci] Add comment for types.go - Datacoord.GetRecoveryInfo (#10483)

Signed-off-by: NCongqi Xia <congqi.xia@zilliz.com>
上级 bc083950
......@@ -183,6 +183,14 @@ type DataCoord interface {
// response struct `GetSegmentInfoResponse` contains the list of segment info
// error is returned only when some communication issue occurs
GetSegmentInfo(ctx context.Context, req *datapb.GetSegmentInfoRequest) (*datapb.GetSegmentInfoResponse, error)
// GetRecoveryInfo request segment recovery info of collection/partition
//
// ctx is the context to control request deadline and cancellation
// req contains the collection/partition id to query
//
// response struct `GetRecoveryInfoResponse` contains the list of segments info and corresponding vchannel info
// error is returned only when some communication issue occurs
GetRecoveryInfo(ctx context.Context, req *datapb.GetRecoveryInfoRequest) (*datapb.GetRecoveryInfoResponse, error)
SaveBinlogPaths(ctx context.Context, req *datapb.SaveBinlogPathsRequest) (*commonpb.Status, error)
GetFlushedSegments(ctx context.Context, req *datapb.GetFlushedSegmentsRequest) (*datapb.GetFlushedSegmentsResponse, error)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册