mirror of https://github.com/milvus-io/milvus.git
fix: unhealthy datacoord started with unhealthy channel manager (#29848)
issue: #29818 Signed-off-by: chyezh <ye.zhen@zilliz.com>pull/29665/head
parent
def717af55
commit
df5445f18d
|
@ -553,7 +553,12 @@ func (s *Server) initServiceDiscovery() error {
|
||||||
datanodes = append(datanodes, info)
|
datanodes = append(datanodes, info)
|
||||||
}
|
}
|
||||||
|
|
||||||
s.cluster.Startup(s.ctx, datanodes)
|
log.Info("DataCoord Cluster Manager start up")
|
||||||
|
if err := s.cluster.Startup(s.ctx, datanodes); err != nil {
|
||||||
|
log.Warn("DataCoord Cluster Manager failed to start up", zap.Error(err))
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
log.Info("DataCoord Cluster Manager start up successfully")
|
||||||
|
|
||||||
// TODO implement rewatch logic
|
// TODO implement rewatch logic
|
||||||
s.dnEventCh = s.session.WatchServicesWithVersionRange(typeutil.DataNodeRole, r, rev+1, nil)
|
s.dnEventCh = s.session.WatchServicesWithVersionRange(typeutil.DataNodeRole, r, rev+1, nil)
|
||||||
|
|
Loading…
Reference in New Issue