Skip to content

Commit

Permalink
enhance: remove collection queryable check from health check (#37731)
Browse files Browse the repository at this point in the history
pr: #37712

Signed-off-by: jaime <yun.zhang@zilliz.com>
  • Loading branch information
jaime0815 authored Nov 18, 2024
1 parent 13f83df commit 3ce27ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/querycoordv2/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,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
Expand Down

0 comments on commit 3ce27ca

Please sign in to comment.