Add wait_for_completion
query parameter in the Delete snapshot API
#101300
Labels
:Distributed/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
>enhancement
Team:Distributed
Meta label for distributed team
Description
Impacted versions: Elasticsearch version 7.17.x / 8.10.x
In very large clusters (thousands of searchable snapshots and automated snapshots and very large cluster state), the Delete snapshot API is likely to take several minutes to complete, resulting in a timeout in Kibana Dev Tools.
Unlike the Create snapshot API and the Restore snapshot API, the Delete snapshot API does not provide the
wait_for_completion
query parameter.Providing such query parameter will be useful to run the task asynchronously and keep track of the task execution through the returned task ID.
The text was updated successfully, but these errors were encountered: