未验证 提交 fa4ccb05 编写于 作者: X XuanYang-cn 提交者: GitHub

[skip-ci]Add comment on FlushSegments of DataNode interface (#8767)

Signed-off-by: Nyangxuan <xuan.yang@zilliz.com>
上级 72252ecc
......@@ -45,6 +45,15 @@ type DataNode interface {
Component
WatchDmChannels(ctx context.Context, req *datapb.WatchDmChannelsRequest) (*commonpb.Status, error)
// FlushSegments notifies DataNode to flush the segments req provids. The flush tasks are async to this
// rpc, DataNode will flush the segments in the background.
//
// Return UnexpectedError code in status:
// If DataNode isn't in HEALTHY: states not HEALTHY or dynamic checks not HEALTHY
// If DataNode doesn't find the correspounding segmentID in its memeory replica
// Return Success code in status and trigers background flush:
// Log an info log if a segment is under flushing
FlushSegments(ctx context.Context, req *datapb.FlushSegmentsRequest) (*commonpb.Status, error)
GetMetrics(ctx context.Context, req *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册