"Cannot delete indices that are being snapshotted" when deleting index

  • Elasticsearch 6.8
  • AWS (Use Elasticsearch service)
  • Automatic snapshot performed at UTC0
  1. Temporarily store file contents in index
  2. Format the data based on the fetched index and store it in another index
  3. Delete temporary index

3, "Cannot delete indices that are being snapshotted" may occur

{
  "error": {
    "root_cause": [
      {
        "type": "snapshot_in_progress_exception",
        "reason": "Cannot delete indices that are being snapshotted: [[index_name/CzqatJlTQkCpqCpRExR3ZZ]]. Try again after snapshot finishes or cancel the currently running snapshot."
      }
    ],
    "type": "snapshot_in_progress_exception",
    "reason": "Cannot delete indices that are being snapshotted: [[index_name/CzqatJlTQkCpqCpRExR3ZZ]]. Try again after snapshot finishes or cancel the currently running snapshot."
  },
  "status": 400
}

The Elasticsearch service does not run the autosnapshot time, but the error occurs.
I don't know why, so I'd like you to tell me if you know.

Welcome!

Apparently you have a snapshot operation running. We don't manage the AWS service so we can't tell what is running behind the scene. May be you need to ask their support?

BTW did you look at https://www.elastic.co/cloud and https://aws.amazon.com/marketplace/pp/B01N6YCISK ?

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, APM, Logs UI, Infra UI, SIEM, Maps UI and what is coming next :slight_smile: ...

I will contact AWS support.
The powerful features of Elastic Cloud are attractive, so I will consider it after seeing the features.

Thank you.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.