mirror of https://github.com/milvus-io/milvus.git
Stop indexnode when milvus process stops (#5694)
Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>pull/5779/head
parent
a3679d5540
commit
f1bb02f724
|
@ -282,7 +282,7 @@ func (mr *MilvusRoles) Run(localMsg bool) {
|
|||
}()
|
||||
|
||||
if in != nil {
|
||||
in.Stop()
|
||||
defer in.Stop()
|
||||
}
|
||||
|
||||
metrics.RegisterIndexNode()
|
||||
|
|
Loading…
Reference in New Issue