Documentation ¶
Index ¶
- Variables
- func NewClient(ctx context.Context) (types.DataCoordClient, error)
- type Client
- func (c *Client) AllocSegment(ctx context.Context, in *datapb.AllocSegmentRequest, opts ...grpc.CallOption) (*datapb.AllocSegmentResponse, error)
- func (c *Client) AlterIndex(ctx context.Context, req *indexpb.AlterIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
- func (c *Client) AssignSegmentID(ctx context.Context, req *datapb.AssignSegmentIDRequest, ...) (*datapb.AssignSegmentIDResponse, error)
- func (c *Client) BroadcastAlteredCollection(ctx context.Context, req *datapb.AlterCollectionRequest, ...) (*commonpb.Status, error)
- func (c *Client) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error)
- func (c *Client) Close() error
- func (c *Client) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
- func (c *Client) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest, ...) (*indexpb.DescribeIndexResponse, error)
- func (c *Client) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
- func (c *Client) DropVirtualChannel(ctx context.Context, req *datapb.DropVirtualChannelRequest, ...) (*datapb.DropVirtualChannelResponse, error)
- func (c *Client) Flush(ctx context.Context, req *datapb.FlushRequest, opts ...grpc.CallOption) (*datapb.FlushResponse, error)
- func (c *Client) GcConfirm(ctx context.Context, req *datapb.GcConfirmRequest, opts ...grpc.CallOption) (*datapb.GcConfirmResponse, error)
- func (c *Client) GcControl(ctx context.Context, req *datapb.GcControlRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
- func (c *Client) GetChannelRecoveryInfo(ctx context.Context, req *datapb.GetChannelRecoveryInfoRequest, ...) (*datapb.GetChannelRecoveryInfoResponse, error)
- func (c *Client) GetCollectionStatistics(ctx context.Context, req *datapb.GetCollectionStatisticsRequest, ...) (*datapb.GetCollectionStatisticsResponse, error)
- func (c *Client) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest, ...) (*milvuspb.GetCompactionStateResponse, error)
- func (c *Client) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest, ...) (*milvuspb.GetCompactionPlansResponse, error)
- func (c *Client) GetComponentStates(ctx context.Context, _ *milvuspb.GetComponentStatesRequest, ...) (*milvuspb.ComponentStates, error)
- func (c *Client) GetFlushAllState(ctx context.Context, req *milvuspb.GetFlushAllStateRequest, ...) (*milvuspb.GetFlushAllStateResponse, error)
- func (c *Client) GetFlushState(ctx context.Context, req *datapb.GetFlushStateRequest, opts ...grpc.CallOption) (*milvuspb.GetFlushStateResponse, error)
- func (c *Client) GetFlushedSegments(ctx context.Context, req *datapb.GetFlushedSegmentsRequest, ...) (*datapb.GetFlushedSegmentsResponse, error)
- func (c *Client) GetImportProgress(ctx context.Context, in *internalpb.GetImportProgressRequest, ...) (*internalpb.GetImportProgressResponse, error)
- func (c *Client) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest, ...) (*indexpb.GetIndexBuildProgressResponse, error)
- func (c *Client) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest, opts ...grpc.CallOption) (*indexpb.GetIndexInfoResponse, error)
- func (c *Client) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest, ...) (*indexpb.GetIndexStateResponse, error)
- func (c *Client) GetIndexStatistics(ctx context.Context, req *indexpb.GetIndexStatisticsRequest, ...) (*indexpb.GetIndexStatisticsResponse, error)
- func (c *Client) GetInsertBinlogPaths(ctx context.Context, req *datapb.GetInsertBinlogPathsRequest, ...) (*datapb.GetInsertBinlogPathsResponse, error)
- func (c *Client) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
- func (c *Client) GetPartitionStatistics(ctx context.Context, req *datapb.GetPartitionStatisticsRequest, ...) (*datapb.GetPartitionStatisticsResponse, error)
- func (c *Client) GetRecoveryInfo(ctx context.Context, req *datapb.GetRecoveryInfoRequest, ...) (*datapb.GetRecoveryInfoResponse, error)
- func (c *Client) GetRecoveryInfoV2(ctx context.Context, req *datapb.GetRecoveryInfoRequestV2, ...) (*datapb.GetRecoveryInfoResponseV2, error)
- func (c *Client) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest, ...) (*indexpb.GetSegmentIndexStateResponse, error)
- func (c *Client) GetSegmentInfo(ctx context.Context, req *datapb.GetSegmentInfoRequest, ...) (*datapb.GetSegmentInfoResponse, error)
- func (c *Client) GetSegmentInfoChannel(ctx context.Context, _ *datapb.GetSegmentInfoChannelRequest, ...) (*milvuspb.StringResponse, error)
- func (c *Client) GetSegmentStates(ctx context.Context, req *datapb.GetSegmentStatesRequest, ...) (*datapb.GetSegmentStatesResponse, error)
- func (c *Client) GetSegmentsByStates(ctx context.Context, req *datapb.GetSegmentsByStatesRequest, ...) (*datapb.GetSegmentsByStatesResponse, error)
- func (c *Client) GetStatisticsChannel(ctx context.Context, _ *internalpb.GetStatisticsChannelRequest, ...) (*milvuspb.StringResponse, error)
- func (c *Client) GetTimeTickChannel(ctx context.Context, _ *internalpb.GetTimeTickChannelRequest, ...) (*milvuspb.StringResponse, error)
- func (c *Client) ImportV2(ctx context.Context, in *internalpb.ImportRequestInternal, ...) (*internalpb.ImportResponse, error)
- func (c *Client) ListImports(ctx context.Context, in *internalpb.ListImportsRequestInternal, ...) (*internalpb.ListImportsResponse, error)
- func (c *Client) ListIndexes(ctx context.Context, in *indexpb.ListIndexesRequest, opts ...grpc.CallOption) (*indexpb.ListIndexesResponse, error)
- func (c *Client) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest, ...) (*milvuspb.ManualCompactionResponse, error)
- func (c *Client) MarkSegmentsDropped(ctx context.Context, req *datapb.MarkSegmentsDroppedRequest, ...) (*commonpb.Status, error)
- func (c *Client) ReportDataNodeTtMsgs(ctx context.Context, req *datapb.ReportDataNodeTtMsgsRequest, ...) (*commonpb.Status, error)
- func (c *Client) SaveBinlogPaths(ctx context.Context, req *datapb.SaveBinlogPathsRequest, ...) (*commonpb.Status, error)
- func (c *Client) SetSegmentState(ctx context.Context, req *datapb.SetSegmentStateRequest, ...) (*datapb.SetSegmentStateResponse, error)
- func (c *Client) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest, ...) (*internalpb.ShowConfigurationsResponse, error)
- func (c *Client) UpdateChannelCheckpoint(ctx context.Context, req *datapb.UpdateChannelCheckpointRequest, ...) (*commonpb.Status, error)
- func (c *Client) UpdateSegmentStatistics(ctx context.Context, req *datapb.UpdateSegmentStatisticsRequest, ...) (*commonpb.Status, error)
- func (c *Client) WatchChannels(ctx context.Context, req *datapb.WatchChannelsRequest, opts ...grpc.CallOption) (*datapb.WatchChannelsResponse, error)
Constants ¶
This section is empty.
Variables ¶
var Params *paramtable.ComponentParam = paramtable.Get()
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the datacoord grpc client
func (*Client) AllocSegment ¶
func (c *Client) AllocSegment(ctx context.Context, in *datapb.AllocSegmentRequest, opts ...grpc.CallOption) (*datapb.AllocSegmentResponse, error)
func (*Client) AlterIndex ¶
func (c *Client) AlterIndex(ctx context.Context, req *indexpb.AlterIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
AlterIndex sends the alter index request to IndexCoord.
func (*Client) AssignSegmentID ¶
func (c *Client) AssignSegmentID(ctx context.Context, req *datapb.AssignSegmentIDRequest, opts ...grpc.CallOption) (*datapb.AssignSegmentIDResponse, error)
AssignSegmentID applies allocations for specified Coolection/Partition and related Channel Name(Virtial Channel)
ctx is the context to control request deadline and cancellation req contains the requester's info(id and role) and the list of Assignment Request, which contains the specified collection, partitaion id, the related VChannel Name and row count it needs
response struct `AssignSegmentIDResponse` contains the assignment result for each request error is returned only when some communication issue occurs if some error occurs in the process of `AssignSegmentID`, it will be recorded and returned in `Status` field of response
`AssignSegmentID` will applies current configured allocation policies for each request if the VChannel is newly used, `WatchDmlChannels` will be invoked to notify a `DataNode`(selected by policy) to watch it if there is anything make the allocation impossible, the response will not contain the corresponding result
func (*Client) BroadcastAlteredCollection ¶
func (c *Client) BroadcastAlteredCollection(ctx context.Context, req *datapb.AlterCollectionRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
BroadcastAlteredCollection is the DataCoord client side code for BroadcastAlteredCollection call.
func (*Client) CheckHealth ¶
func (c *Client) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthRequest, opts ...grpc.CallOption) (*milvuspb.CheckHealthResponse, error)
func (*Client) CreateIndex ¶
func (c *Client) CreateIndex(ctx context.Context, req *indexpb.CreateIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
CreateIndex sends the build index request to IndexCoord.
func (*Client) DescribeIndex ¶
func (c *Client) DescribeIndex(ctx context.Context, req *indexpb.DescribeIndexRequest, opts ...grpc.CallOption) (*indexpb.DescribeIndexResponse, error)
DescribeIndex describe the index info of the collection.
func (*Client) DropIndex ¶
func (c *Client) DropIndex(ctx context.Context, req *indexpb.DropIndexRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
DropIndex sends the drop index request to IndexCoord.
func (*Client) DropVirtualChannel ¶
func (c *Client) DropVirtualChannel(ctx context.Context, req *datapb.DropVirtualChannelRequest, opts ...grpc.CallOption) (*datapb.DropVirtualChannelResponse, error)
DropVirtualChannel drops virtual channel in datacoord.
func (*Client) Flush ¶
func (c *Client) Flush(ctx context.Context, req *datapb.FlushRequest, opts ...grpc.CallOption) (*datapb.FlushResponse, error)
Flush flushes a collection's data
func (*Client) GcConfirm ¶
func (c *Client) GcConfirm(ctx context.Context, req *datapb.GcConfirmRequest, opts ...grpc.CallOption) (*datapb.GcConfirmResponse, error)
func (*Client) GcControl ¶
func (c *Client) GcControl(ctx context.Context, req *datapb.GcControlRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) GetChannelRecoveryInfo ¶
func (c *Client) GetChannelRecoveryInfo(ctx context.Context, req *datapb.GetChannelRecoveryInfoRequest, opts ...grpc.CallOption) (*datapb.GetChannelRecoveryInfoResponse, error)
GetChannelRecoveryInfo returns the corresponding vchannel info.
func (*Client) GetCollectionStatistics ¶
func (c *Client) GetCollectionStatistics(ctx context.Context, req *datapb.GetCollectionStatisticsRequest, opts ...grpc.CallOption) (*datapb.GetCollectionStatisticsResponse, error)
GetCollectionStatistics requests collection statistics
ctx is the context to control request deadline and cancellation req contains the collection id to query
response struct `GetCollectionStatisticsResponse` contains the key-value list fields returning related data
only row count for now
error is returned only when some communication issue occurs
func (*Client) GetCompactionState ¶
func (c *Client) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest, opts ...grpc.CallOption) (*milvuspb.GetCompactionStateResponse, error)
GetCompactionState gets the state of a compaction
func (*Client) GetCompactionStateWithPlans ¶
func (c *Client) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest, opts ...grpc.CallOption) (*milvuspb.GetCompactionPlansResponse, error)
GetCompactionStateWithPlans gets the state of a compaction by plan
func (*Client) GetComponentStates ¶
func (c *Client) GetComponentStates(ctx context.Context, _ *milvuspb.GetComponentStatesRequest, opts ...grpc.CallOption) (*milvuspb.ComponentStates, error)
GetComponentStates calls DataCoord GetComponentStates services
func (*Client) GetFlushAllState ¶
func (c *Client) GetFlushAllState(ctx context.Context, req *milvuspb.GetFlushAllStateRequest, opts ...grpc.CallOption) (*milvuspb.GetFlushAllStateResponse, error)
GetFlushAllState checks if all DML messages before `FlushAllTs` have been flushed.
func (*Client) GetFlushState ¶
func (c *Client) GetFlushState(ctx context.Context, req *datapb.GetFlushStateRequest, opts ...grpc.CallOption) (*milvuspb.GetFlushStateResponse, error)
GetFlushState gets the flush state of the collection based on the provided flush ts and segment IDs.
func (*Client) GetFlushedSegments ¶
func (c *Client) GetFlushedSegments(ctx context.Context, req *datapb.GetFlushedSegmentsRequest, opts ...grpc.CallOption) (*datapb.GetFlushedSegmentsResponse, 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
func (*Client) GetImportProgress ¶
func (c *Client) GetImportProgress(ctx context.Context, in *internalpb.GetImportProgressRequest, opts ...grpc.CallOption) (*internalpb.GetImportProgressResponse, error)
func (*Client) GetIndexBuildProgress ¶
func (c *Client) GetIndexBuildProgress(ctx context.Context, req *indexpb.GetIndexBuildProgressRequest, opts ...grpc.CallOption) (*indexpb.GetIndexBuildProgressResponse, error)
GetIndexBuildProgress describe the progress of the index.
func (*Client) GetIndexInfos ¶
func (c *Client) GetIndexInfos(ctx context.Context, req *indexpb.GetIndexInfoRequest, opts ...grpc.CallOption) (*indexpb.GetIndexInfoResponse, error)
GetIndexInfos gets the index file paths from IndexCoord.
func (*Client) GetIndexState ¶
func (c *Client) GetIndexState(ctx context.Context, req *indexpb.GetIndexStateRequest, opts ...grpc.CallOption) (*indexpb.GetIndexStateResponse, error)
GetIndexState gets the index states from IndexCoord.
func (*Client) GetIndexStatistics ¶
func (c *Client) GetIndexStatistics(ctx context.Context, req *indexpb.GetIndexStatisticsRequest, opts ...grpc.CallOption) (*indexpb.GetIndexStatisticsResponse, error)
GetIndexStatistics get the statistics of the index.
func (*Client) GetInsertBinlogPaths ¶
func (c *Client) GetInsertBinlogPaths(ctx context.Context, req *datapb.GetInsertBinlogPathsRequest, opts ...grpc.CallOption) (*datapb.GetInsertBinlogPathsResponse, 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
func (*Client) GetMetrics ¶
func (c *Client) GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error)
GetMetrics gets all metrics of datacoord
func (*Client) GetPartitionStatistics ¶
func (c *Client) GetPartitionStatistics(ctx context.Context, req *datapb.GetPartitionStatisticsRequest, opts ...grpc.CallOption) (*datapb.GetPartitionStatisticsResponse, error)
GetPartitionStatistics requests partition statistics
ctx is the context to control request deadline and cancellation req contains the collection and partition id to query
response struct `GetPartitionStatisticsResponse` contains the key-value list fields returning related data
only row count for now
error is returned only when some communication issue occurs
func (*Client) GetRecoveryInfo ¶
func (c *Client) GetRecoveryInfo(ctx context.Context, req *datapb.GetRecoveryInfoRequest, opts ...grpc.CallOption) (*datapb.GetRecoveryInfoResponse, 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
func (*Client) GetRecoveryInfoV2 ¶
func (c *Client) GetRecoveryInfoV2(ctx context.Context, req *datapb.GetRecoveryInfoRequestV2, opts ...grpc.CallOption) (*datapb.GetRecoveryInfoResponseV2, error)
GetRecoveryInfoV2 request segment recovery info of collection/partitions
ctx is the context to control request deadline and cancellation req contains the collection/partitions id to query
response struct `GetRecoveryInfoResponseV2` contains the list of segments info and corresponding vchannel info error is returned only when some communication issue occurs
func (*Client) GetSegmentIndexState ¶
func (c *Client) GetSegmentIndexState(ctx context.Context, req *indexpb.GetSegmentIndexStateRequest, opts ...grpc.CallOption) (*indexpb.GetSegmentIndexStateResponse, error)
GetSegmentIndexState gets the index states from IndexCoord.
func (*Client) GetSegmentInfo ¶
func (c *Client) GetSegmentInfo(ctx context.Context, req *datapb.GetSegmentInfoRequest, opts ...grpc.CallOption) (*datapb.GetSegmentInfoResponse, error)
GetSegmentInfo requests segment info
ctx is the context to control request deadline and cancellation req contains the list of segment ids to query
response struct `GetSegmentInfoResponse` contains the list of segment info error is returned only when some communication issue occurs
func (*Client) GetSegmentInfoChannel ¶
func (c *Client) GetSegmentInfoChannel(ctx context.Context, _ *datapb.GetSegmentInfoChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
GetSegmentInfoChannel DEPRECATED legacy api to get SegmentInfo Channel name
func (*Client) GetSegmentStates ¶
func (c *Client) GetSegmentStates(ctx context.Context, req *datapb.GetSegmentStatesRequest, opts ...grpc.CallOption) (*datapb.GetSegmentStatesResponse, error)
GetSegmentStates requests segment state information
ctx is the context to control request deadline and cancellation req contains the list of segment id to query
response struct `GetSegmentStatesResponse` contains the list of each state query result
when the segment is not found, the state entry will has the field `Status` to identify failure otherwise the Segment State and Start position information will be returned
error is returned only when some communication issue occurs
func (*Client) GetSegmentsByStates ¶
func (c *Client) GetSegmentsByStates(ctx context.Context, req *datapb.GetSegmentsByStatesRequest, opts ...grpc.CallOption) (*datapb.GetSegmentsByStatesResponse, error)
GetSegmentsByStates returns segment list of requested collection/partition and segment states
ctx is the context to control request deadline and cancellation req contains the collection/partition id and segment states to query when partition is lesser or equal to 0, all segments of collection will be returned
response struct `GetSegmentsByStatesResponse` contains segment id list error is returned only when some communication issue occurs
func (*Client) GetStatisticsChannel ¶
func (c *Client) GetStatisticsChannel(ctx context.Context, _ *internalpb.GetStatisticsChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
GetStatisticsChannel return the name of statistics channel.
func (*Client) GetTimeTickChannel ¶
func (c *Client) GetTimeTickChannel(ctx context.Context, _ *internalpb.GetTimeTickChannelRequest, opts ...grpc.CallOption) (*milvuspb.StringResponse, error)
GetTimeTickChannel return the name of time tick channel.
func (*Client) ImportV2 ¶
func (c *Client) ImportV2(ctx context.Context, in *internalpb.ImportRequestInternal, opts ...grpc.CallOption) (*internalpb.ImportResponse, error)
func (*Client) ListImports ¶
func (c *Client) ListImports(ctx context.Context, in *internalpb.ListImportsRequestInternal, opts ...grpc.CallOption) (*internalpb.ListImportsResponse, error)
func (*Client) ListIndexes ¶
func (c *Client) ListIndexes(ctx context.Context, in *indexpb.ListIndexesRequest, opts ...grpc.CallOption) (*indexpb.ListIndexesResponse, error)
func (*Client) ManualCompaction ¶
func (c *Client) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest, opts ...grpc.CallOption) (*milvuspb.ManualCompactionResponse, error)
ManualCompaction triggers a compaction for a collection
func (*Client) MarkSegmentsDropped ¶
func (c *Client) MarkSegmentsDropped(ctx context.Context, req *datapb.MarkSegmentsDroppedRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) ReportDataNodeTtMsgs ¶
func (c *Client) ReportDataNodeTtMsgs(ctx context.Context, req *datapb.ReportDataNodeTtMsgsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
func (*Client) SaveBinlogPaths ¶
func (c *Client) SaveBinlogPaths(ctx context.Context, req *datapb.SaveBinlogPathsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
SaveBinlogPaths updates segments binlogs(including insert binlogs, stats logs and delta logs)
and related message stream positions
ctx is the context to control request deadline and cancellation req contains the collection/partition id to query
response status contains the status/error code and failing reason if any error is returned only when some communication issue occurs
there is a constraint that the `SaveBinlogPaths` requests of same segment shall be passed in sequence
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
func (*Client) SetSegmentState ¶
func (c *Client) SetSegmentState(ctx context.Context, req *datapb.SetSegmentStateRequest, opts ...grpc.CallOption) (*datapb.SetSegmentStateResponse, error)
SetSegmentState sets the state of a given segment.
func (*Client) ShowConfigurations ¶
func (c *Client) ShowConfigurations(ctx context.Context, req *internalpb.ShowConfigurationsRequest, opts ...grpc.CallOption) (*internalpb.ShowConfigurationsResponse, error)
ShowConfigurations gets specified configurations para of DataCoord
func (*Client) UpdateChannelCheckpoint ¶
func (c *Client) UpdateChannelCheckpoint(ctx context.Context, req *datapb.UpdateChannelCheckpointRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
UpdateChannelCheckpoint updates channel checkpoint in dataCoord.
func (*Client) UpdateSegmentStatistics ¶
func (c *Client) UpdateSegmentStatistics(ctx context.Context, req *datapb.UpdateSegmentStatisticsRequest, opts ...grpc.CallOption) (*commonpb.Status, error)
UpdateSegmentStatistics is the client side caller of UpdateSegmentStatistics.
func (*Client) WatchChannels ¶
func (c *Client) WatchChannels(ctx context.Context, req *datapb.WatchChannelsRequest, opts ...grpc.CallOption) (*datapb.WatchChannelsResponse, error)
WatchChannels notifies DataCoord to watch vchannels of a collection