mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 01:44:36 -04:00
Add 'state' query param to GET snapshots API (#128635)
This change introduces a new optional 'state' query parameter for the Get Snapshots API, allowing users to filter snapshots by state. The parameter accepts comma-separated values for states: SUCCESS, IN_PROGRESS, FAILED, PARTIAL, INCOMPATIBLE (case-insensitive). A new 'snapshots.get.state_parameter' NodeFeature has been added with this change. The new state query parameter will only be supported in clusters where all nodes support this feature. --------- Co-authored-by: Elena Stoeva <elenastoeva99@gmail.com>
This commit is contained in:
parent
217275c229
commit
d43198ea3e
14 changed files with 293 additions and 8 deletions
|
@ -425,6 +425,7 @@ module org.elasticsearch.server {
|
|||
org.elasticsearch.action.bulk.BulkFeatures,
|
||||
org.elasticsearch.features.InfrastructureFeatures,
|
||||
org.elasticsearch.rest.action.admin.cluster.ClusterRerouteFeatures,
|
||||
org.elasticsearch.rest.action.admin.cluster.GetSnapshotsFeatures,
|
||||
org.elasticsearch.index.mapper.MapperFeatures,
|
||||
org.elasticsearch.index.IndexFeatures,
|
||||
org.elasticsearch.search.SearchFeatures,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue