mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
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:
parent
a58b2c2b05
commit
64891011d3
30 changed files with 1615 additions and 761 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue