mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for ReleasePartitions (#11049)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/11054/head
parent
4f8083c48d
commit
90ceca8bb5
|
@ -376,6 +376,7 @@ func (node *QueryNode) ReleaseCollection(ctx context.Context, in *queryPb.Releas
|
|||
return status, nil
|
||||
}
|
||||
|
||||
// ReleasePartitions clears all data related to this partition on the querynode
|
||||
func (node *QueryNode) ReleasePartitions(ctx context.Context, in *queryPb.ReleasePartitionsRequest) (*commonpb.Status, error) {
|
||||
code := node.stateCode.Load().(internalpb.StateCode)
|
||||
if code != internalpb.StateCode_Healthy {
|
||||
|
|
Loading…
Reference in New Issue