Fix dataservice startup

Signed-off-by: sunby <bingyi.sun@zilliz.com>
pull/4973/head^2
sunby 2021-02-04 20:03:19 +08:00 committed by yefu.chen
parent c2ca2c276f
commit be596123d1
1 changed files with 1 additions and 1 deletions

View File

@ -141,9 +141,9 @@ func (s *Server) Start() error {
if err = s.loadMetaFromMaster(); err != nil {
return err
}
s.startServerLoop()
s.waitDataNodeRegister()
s.cluster.WatchInsertChannels(s.insertChannels)
s.startServerLoop()
if err = s.initMsgProducer(); err != nil {
return err
}