mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 01:44:36 -04:00
Use valid REST version when determining capabilities (#123864)
If the rest api version is not specified, infer the correct one to use from the major versions present on the cluster, determined using features
This commit is contained in:
parent
e3c953f799
commit
135b1658c2
7 changed files with 88 additions and 46 deletions
|
@ -429,7 +429,7 @@ module org.elasticsearch.server {
|
|||
provides org.elasticsearch.features.FeatureSpecification
|
||||
with
|
||||
org.elasticsearch.action.bulk.BulkFeatures,
|
||||
org.elasticsearch.features.FeatureInfrastructureFeatures,
|
||||
org.elasticsearch.features.InfrastructureFeatures,
|
||||
org.elasticsearch.rest.action.admin.cluster.ClusterRerouteFeatures,
|
||||
org.elasticsearch.index.mapper.MapperFeatures,
|
||||
org.elasticsearch.index.IndexFeatures,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue