Change params

Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
sunby 2021-01-27 09:59:17 +08:00 committed by yefu.chen
parent 4f914a2c30
commit a3adb22e10
2 changed files with 4 additions and 4 deletions

View File

@ -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)
}

View File

@ -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