I have a process which deletes outdated ES snapshots which are saved on AWS S3.
Currently there are 326 snapshots which are scheduled for deletion. From the docs, Delete a snapshot | Elasticsearch Reference [7.11] | Elastic it states
When a snapshot is deleted from a repository, Elasticsearch deletes all files associated with the snapshot that are not in-use by other snapshots.
Would this explain the load on the ES cluster and can someone explain the internals of the snapshot delete API?
Any advise is much appreciated.