mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for GetRecoveryInfo (#10605)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/10610/head
parent
3030454eb9
commit
1888b7e1a1
|
@ -452,6 +452,13 @@ func (c *Client) SaveBinlogPaths(ctx context.Context, req *datapb.SaveBinlogPath
|
|||
return client.SaveBinlogPaths(ctx, req)
|
||||
}
|
||||
|
||||
// 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
|
||||
func (c *Client) GetRecoveryInfo(ctx context.Context, req *datapb.GetRecoveryInfoRequest) (*datapb.GetRecoveryInfoResponse, error) {
|
||||
ret, err := c.recall(func() (interface{}, error) {
|
||||
client, err := c.getGrpcClient()
|
||||
|
|
Loading…
Reference in New Issue