mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip e2e] Add comment for isHealthy (#14519)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user