提交 a3adb22e 编写于 作者: S sunby 提交者: yefu.chen

Change params

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 4f914a2c
......@@ -182,7 +182,7 @@ func (p *ParamTable) initSegmentInfoChannelName() {
func (p *ParamTable) initDataServiceSubscriptionName() {
var err error
p.DataServiceSubscriptionName, err = p.Load("msgChannel.chanNamePrefix.dataServiceSubNamePrefix")
p.DataServiceSubscriptionName, err = p.Load("msgChannel.subNamePrefix.dataServiceSubNamePrefix")
if err != nil {
panic(err)
}
......
......@@ -122,14 +122,14 @@ func (s *Server) Start() error {
}
s.ddHandler = newDDHandler(s.meta, s.segAllocator)
s.initSegmentInfoChannel()
if err = s.initMsgProducer(); err != nil {
return err
}
if err = s.loadMetaFromMaster(); err != nil {
return err
}
s.startServerLoop()
s.waitDataNodeRegister()
if err = s.initMsgProducer(); err != nil {
return err
}
s.state.Store(internalpb2.StateCode_HEALTHY)
log.Println("start success")
return nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册