Create new feature API for querying features present on a cluster (#100974)

This adds an internal API and service to manage & get information on features that are present on nodes in a cluster. New features can be declared as supported, and historical features can be added to previous node versions to eventually replace node version comparisons
This commit is contained in:
Simon Cooper 2023-10-30 14:38:30 +00:00 committed by GitHub
parent d5c9c7ca21
commit bfad5e5b13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 1249 additions and 112 deletions

View file

@ -224,6 +224,7 @@ module org.elasticsearch.server {
exports org.elasticsearch.common.xcontent.support;
exports org.elasticsearch.discovery;
exports org.elasticsearch.env;
exports org.elasticsearch.features;
exports org.elasticsearch.gateway;
exports org.elasticsearch.health;
exports org.elasticsearch.health.node;
@ -400,6 +401,10 @@ module org.elasticsearch.server {
uses org.elasticsearch.node.internal.TerminationHandlerProvider;
uses org.elasticsearch.internal.VersionExtension;
uses org.elasticsearch.internal.BuildExtension;
uses org.elasticsearch.features.FeatureSpecification;
provides org.elasticsearch.features.FeatureSpecification with org.elasticsearch.features.FeaturesSupportedSpecification;
uses org.elasticsearch.plugins.internal.SettingsExtension;
uses RestExtension;
uses org.elasticsearch.action.admin.cluster.node.info.ComponentVersionNumber;