mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
[skip ci] Add comments for ReleaseSegments (#11192)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
d8b979dba3
commit
48fb8174fa
@ -424,6 +424,7 @@ func (node *QueryNode) ReleasePartitions(ctx context.Context, in *queryPb.Releas
|
||||
return status, nil
|
||||
}
|
||||
|
||||
// ReleaseSegments remove the specified segments from query node according segmentIDs, partitionIDs, and collectionID
|
||||
func (node *QueryNode) ReleaseSegments(ctx context.Context, in *queryPb.ReleaseSegmentsRequest) (*commonpb.Status, error) {
|
||||
code := node.stateCode.Load().(internalpb.StateCode)
|
||||
if code != internalpb.StateCode_Healthy {
|
||||
|
Loading…
Reference in New Issue
Block a user