mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for isHealthy (#14519)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/14539/head
parent
6bd640c130
commit
0415618f81
|
@ -519,6 +519,7 @@ func (node *QueryNode) GetSegmentInfo(ctx context.Context, in *queryPb.GetSegmen
|
|||
}, nil
|
||||
}
|
||||
|
||||
// isHealthy checks if QueryNode is healthy
|
||||
func (node *QueryNode) isHealthy() bool {
|
||||
code := node.stateCode.Load().(internalpb.StateCode)
|
||||
return code == internalpb.StateCode_Healthy
|
||||
|
|
Loading…
Reference in New Issue