Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove performSimpleCheck flag #4168

Merged
merged 3 commits into from
Oct 25, 2022
Merged

Remove performSimpleCheck flag #4168

merged 3 commits into from
Oct 25, 2022

Conversation

dmanjunath
Copy link
Contributor

@dmanjunath dmanjunath commented Oct 25, 2022

Description

Remove the distinction between simple and full peer health checks in CNodeHealthManager. All health check requests will check health, storage and file descriptors.

This was necessary to reconfig off primaries that ran out of storage. Without this, we never checked storage available on primaries.

Tests

This flow has good test coverage so made sure unit tests all pass.

Monitoring - How will this change be monitored? Are there sufficient logs / alerts?

In bull dashboard unhealthPeers correctly returns unhealthy nodes

@dmanjunath dmanjunath marked this pull request as ready for review October 25, 2022 03:12
@dmanjunath dmanjunath merged commit 93ff417 into main Oct 25, 2022
@dmanjunath dmanjunath deleted the dm-remove-simple-check-flag branch October 25, 2022 03:16
dmanjunath added a commit that referenced this pull request Oct 31, 2022
* Remove performSimpleCheck flag

* Test fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants