mirror of https://github.com/milvus-io/milvus.git
Fix datacoord crash (#25631)
Signed-off-by: sunby <bingyi.sun@zilliz.com> Co-authored-by: sunby <bingyi.sun@zilliz.com>pull/25673/head
parent
948d1f1f4a
commit
7613c7842c
|
@ -1421,7 +1421,7 @@ func (s *Server) ReportDataNodeTtMsgs(ctx context.Context, req *datapb.ReportDat
|
||||||
log := log.Ctx(ctx)
|
log := log.Ctx(ctx)
|
||||||
if s.isClosed() {
|
if s.isClosed() {
|
||||||
log.Warn("failed to report dataNode ttMsgs on closed server")
|
log.Warn("failed to report dataNode ttMsgs on closed server")
|
||||||
return merr.Status(merr.WrapErrServiceUnavailable(msgDataCoordIsUnhealthy(s.session.ServerID))), nil
|
return merr.Status(merr.WrapErrServiceUnavailable("Datacoord not ready")), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, ttMsg := range req.GetMsgs() {
|
for _, ttMsg := range req.GetMsgs() {
|
||||||
|
|
Loading…
Reference in New Issue