From 7613c7842cbaf9b0e9c5c681770a5a3d432f1ebb Mon Sep 17 00:00:00 2001 From: Bingyi Sun Date: Mon, 17 Jul 2023 16:54:34 +0800 Subject: [PATCH] Fix datacoord crash (#25631) Signed-off-by: sunby Co-authored-by: sunby --- internal/datacoord/services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/datacoord/services.go b/internal/datacoord/services.go index f3700cb2e9..c1b0922464 100644 --- a/internal/datacoord/services.go +++ b/internal/datacoord/services.go @@ -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() {