-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Is your feature request related to a problem? Please describe
We have a lot of indices in one of our clusters for which we create regular snapshots and then prune. The snapshot deletion process takes longer than the maximum master timeout of 5 minutes resulting in an error in our automation flows.
Describe the solution you'd like
Please add the wait_for_completion
query parameter to the Delete snapshot API, to bring it in line with Create and Restore.
This would allow processes to either asynchronously handle deletions, or to block until the process has fully completed.
Related component
Storage:Snapshots
Describe alternatives you've considered
AWS Support suggested to go back in time and reduce the number of indices. Amusing but not helpful. We currently ignore errors from the snapshot deletion step as that's our only option.
Additional context
wait_for_completion
has been added to ElasticSearch's Delete snapshot post-fork: elastic/elasticsearch#101300
Metadata
Metadata
Assignees
Labels
Type
Projects
Status