mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 09:38:39 +08:00
fix: streamingnode should exit when initializing failure (#45732)
issue: #45721 pr: #45731 Signed-off-by: chyezh <chyezh@outlook.com>
This commit is contained in:
parent
bc3b1bf61c
commit
a48f7ae170
@ -43,7 +43,9 @@ func (s *Server) init() {
|
|||||||
s.initService()
|
s.initService()
|
||||||
|
|
||||||
log.Info("init query segcore...")
|
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")
|
log.Info("streamingnode server initialized")
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user