mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for UpdateStateCode (#10858)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/10865/head
parent
6ae5b926c1
commit
203da4be2b
|
@ -245,6 +245,7 @@ func (node *QueryNode) Stop() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// UpdateStateCode updata the state of query node, which can be initializing, healthy, and abnormal
|
||||
func (node *QueryNode) UpdateStateCode(code internalpb.StateCode) {
|
||||
node.stateCode.Store(code)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue