Stop indexnode when milvus process stops (#5694)

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>
pull/5779/head
cai.zhang 2021-06-09 19:16:48 +08:00 committed by zhenshan.cao
parent a3679d5540
commit f1bb02f724
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ func (mr *MilvusRoles) Run(localMsg bool) {
}()
if in != nil {
in.Stop()
defer in.Stop()
}
metrics.RegisterIndexNode()