[skip ci] Add comment for DataCoord - GetInsertBinlogPaths ()

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/9342/head
congqixia 2021-10-06 19:23:16 +08:00 committed by GitHub
parent 1d5d0903e8
commit 8c5725698b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
internal/types

View File

@ -106,6 +106,15 @@ type DataCoord interface {
// otherwise the Segment State and Start position information will be returned
// error is returned only when some communication issue occurs
GetSegmentStates(ctx context.Context, req *datapb.GetSegmentStatesRequest) (*datapb.GetSegmentStatesResponse, error)
// GetInsertBinlogPaths requests binlog paths for specified segment
//
// ctx is the context to control request deadline and cancellation
// req contains the segment id to query
//
// response struct `GetInsertBinlogPathsResponse` contains the fields list
// and corresponding binlog path list
// error is returned only when some communication issue occurs
GetInsertBinlogPaths(ctx context.Context, req *datapb.GetInsertBinlogPathsRequest) (*datapb.GetInsertBinlogPathsResponse, error)
GetSegmentInfoChannel(ctx context.Context) (*milvuspb.StringResponse, error)
GetCollectionStatistics(ctx context.Context, req *datapb.GetCollectionStatisticsRequest) (*datapb.GetCollectionStatisticsResponse, error)