mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comments for UpdateStateCode (#10858)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user