Fix datacoord crash (#25631)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
pull/25657/head
Bingyi Sun 2023-07-17 16:54:34 +08:00 committed by GitHub
parent 948d1f1f4a
commit 7613c7842c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1421,7 +1421,7 @@ func (s *Server) ReportDataNodeTtMsgs(ctx context.Context, req *datapb.ReportDat
log := log.Ctx(ctx)
if s.isClosed() {
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() {