mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
[Health API] Abstract data tier diagnoses as node roles (#102466)
We generalise the code that is diagnosing the shard availability when it comes to data tier issues. We make it more extensible, so in serverless we can introduce new roles. For this reason, we consider a tier as a more specific kind of a role. Then we expose some methods and some diagnosis definitions in the ShardsAvailabilityHealthIndicatorService so they can be extended.
This commit is contained in:
parent
5f4fb503ff
commit
9e3d0dbaf8
5 changed files with 133 additions and 89 deletions
|
@ -422,5 +422,9 @@ module org.elasticsearch.server {
|
|||
org.elasticsearch.index.codec.bloomfilter.ES87BloomFilterPostingsFormat;
|
||||
provides org.apache.lucene.codecs.DocValuesFormat with ES87TSDBDocValuesFormat;
|
||||
|
||||
exports org.elasticsearch.cluster.routing.allocation.shards to org.elasticsearch.shardhealth, org.elasticsearch.serverless.shardhealth;
|
||||
exports org.elasticsearch.cluster.routing.allocation.shards
|
||||
to
|
||||
org.elasticsearch.shardhealth,
|
||||
org.elasticsearch.serverless.shardhealth,
|
||||
org.elasticsearch.serverless.apifiltering;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue