Extend repository_integrity health indicator for unknown and invalid repos (#104614)

This PR extends the repository integrity health indicator to cover also unknown and invalid repositories. Because these errors are local to a node, we extend the `LocalHealthMonitor` to monitor the repositories and report the changes in their health regarding the unknown or invalid status.
To simplify this extension in the future, we introduce the `HealthTracker` abstract class that can be used to create new local health checks.
Furthermore, we change the severity of the health status when the repository integrity indicator reports unhealthy from `RED` to `YELLOW` because even though this is a serious issue, there is no user impact yet.
This commit is contained in:
Niels Bauman 2024-02-07 15:18:55 +01:00 committed by GitHub
parent a58b2c2b05
commit 64891011d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 1615 additions and 761 deletions

View file

@ -228,6 +228,7 @@ module org.elasticsearch.server {
exports org.elasticsearch.gateway;
exports org.elasticsearch.health;
exports org.elasticsearch.health.node;
exports org.elasticsearch.health.node.tracker;
exports org.elasticsearch.health.node.selection;
exports org.elasticsearch.health.stats;
exports org.elasticsearch.http;