Closed xin-hedera closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.41%. Comparing base (
1a273a8
) to head (726da0e
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Description:
This PR changes the cluster health indicator to return
DOWN
when there is Rest API connection issue.Related issue(s):
Fixes #8509
Notes for reviewer:
The scenario is, when there is db issue,
/api/v1/network/stake
will return 500 code at the beginning. However the same db issue will also cause the rest pod readiness probe to fail and eventuallymirror-rest
service will be unavailable and thus cause connection issue, so we need to reportDOWN
as well.Checklist