enhance: remove collection queryable check from health check (#37712)

Signed-off-by: jaime <yun.zhang@zilliz.com>
This commit is contained in:
jaime 2024-11-18 10:50:38 +08:00 committed by GitHub
parent b0bd290a6e
commit 257ecab84b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -924,7 +924,7 @@ func (s *Server) CheckHealth(ctx context.Context, req *milvuspb.CheckHealthReque
}
if err := utils.CheckCollectionsQueryable(ctx, s.meta, s.targetMgr, s.dist, s.nodeMgr); err != nil {
return componentutil.CheckHealthRespWithErr(err), nil
log.Warn("some collection is not queryable during health check", zap.Error(err))
}
return componentutil.CheckHealthRespWithErr(nil), nil