[skip ci] Add comments for LoadSegments (#11118)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/11130/head
xige-16 2021-11-02 21:58:22 +08:00 committed by GitHub
parent aa64b64214
commit 7c588e5652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ func (node *QueryNode) WatchDmChannels(ctx context.Context, in *queryPb.WatchDmC
return waitFunc()
}
// LoadSegments load historical data into query node, historical data can be vector data or index
func (node *QueryNode) LoadSegments(ctx context.Context, in *queryPb.LoadSegmentsRequest) (*commonpb.Status, error) {
code := node.stateCode.Load().(internalpb.StateCode)
if code != internalpb.StateCode_Healthy {