mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
[skip ci] Add comment for LoadSegments (#8961)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
4cf5843516
commit
09219f062c
@ -411,6 +411,14 @@ type QueryNode interface {
|
||||
AddQueryChannel(ctx context.Context, req *querypb.AddQueryChannelRequest) (*commonpb.Status, error)
|
||||
RemoveQueryChannel(ctx context.Context, req *querypb.RemoveQueryChannelRequest) (*commonpb.Status, error)
|
||||
WatchDmChannels(ctx context.Context, req *querypb.WatchDmChannelsRequest) (*commonpb.Status, error)
|
||||
// LoadSegments notifies QueryNode to load the sealed segments from storage. The load tasks are sync to this
|
||||
// rpc, QueryNode will return after all the sealed segments are loaded.
|
||||
//
|
||||
// Return UnexpectedError code in status:
|
||||
// If QueryNode isn't in HEALTHY: states not HEALTHY or dynamic checks not HEALTHY.
|
||||
// If any segment is loaded failed in QueryNode.
|
||||
// Return Success code in status:
|
||||
// All the sealed segments are loaded.
|
||||
LoadSegments(ctx context.Context, req *querypb.LoadSegmentsRequest) (*commonpb.Status, error)
|
||||
ReleaseCollection(ctx context.Context, req *querypb.ReleaseCollectionRequest) (*commonpb.Status, error)
|
||||
ReleasePartitions(ctx context.Context, req *querypb.ReleasePartitionsRequest) (*commonpb.Status, error)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user