mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: streamingnode should exit when initializing failure (#45731)
issue: #45721 Signed-off-by: chyezh <chyezh@outlook.com>
This commit is contained in:
parent
b95bbaffae
commit
3c90dddebf
@ -43,7 +43,9 @@ func (s *Server) init() {
|
||||
s.initService()
|
||||
|
||||
log.Info("init query segcore...")
|
||||
initcore.InitQueryNode(context.TODO())
|
||||
if err := initcore.InitQueryNode(context.TODO()); err != nil {
|
||||
panic(fmt.Sprintf("init query node segcore failed, %+v", err))
|
||||
}
|
||||
|
||||
log.Info("streamingnode server initialized")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user