# ConcurrentSnapshotExecutionException: [my_repo:snapshot_2025] cannot create snapshot - a snapshot is already in progress for repository [my_repo]

- **ID:** `elasticsearch/snapshot-in-progress`
- **Domain:** elasticsearch
- **Category:** resource_error
- **Verification:** ai_generated
- **Fix Rate:** 83%

## Root Cause

A snapshot operation is already running for the same repository, and Elasticsearch does not allow concurrent snapshots to the same repository by default.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 7.10.0 | active | — | — |
| 7.17.0 | active | — | — |
| 8.0.0 | active | — | — |
| 8.9.0 | active | — | — |

## Workarounds

1. **Check the current snapshot status and wait for completion: GET _snapshot/my_repo/_current** (90% success)
   ```
   Check the current snapshot status and wait for completion: GET _snapshot/my_repo/_current
   ```
2. **Abort the running snapshot gracefully: POST _snapshot/my_repo/snapshot_name/_cancel** (85% success)
   ```
   Abort the running snapshot gracefully: POST _snapshot/my_repo/snapshot_name/_cancel
   ```
3. **Increase the snapshot timeout to allow longer operations: PUT _cluster/settings { "persistent": { "snapshot.max_concurrent_operations": 2 } } (requires Elasticsearch 8.0+)** (75% success)
   ```
   Increase the snapshot timeout to allow longer operations: PUT _cluster/settings { "persistent": { "snapshot.max_concurrent_operations": 2 } } (requires Elasticsearch 8.0+)
   ```

## Dead Ends

- **** — Deleting an in-progress snapshot may cause repository corruption or leave partial data. It is not recommended. (80% fail)
- **** — Snapshot state is persisted in the repository metadata, not just memory. Restarting nodes does not release the lock. (95% fail)
- **** — This does not resolve the conflict for the original repository; it only creates a workaround that may not be feasible for production. (60% fail)
