mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-04 11:18:44 +08:00
[skip ci] Add comment for updateState (#9321)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
d3f6cffa98
commit
ed328f7aa5
@ -158,6 +158,7 @@ func (qc *QueryCoord) Stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// UpdateStateCode updates the status of the coord, including healthy, unhealthy
|
||||
func (qc *QueryCoord) UpdateStateCode(code internalpb.StateCode) {
|
||||
qc.stateCode.Store(code)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user