# SnapshotInProgressException: snapshot [my_repo:snapshot_2025] is already in progress, cannot start new snapshot until current one completes or is cancelled

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

## Root Cause

A concurrent snapshot creation was attempted while another snapshot is still running in the same repository, which is not allowed.

## Version Compatibility

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

## Workarounds

1. **Cancel the ongoing snapshot: `POST _snapshot/my_repo/snapshot_2025/_cancel` then wait for completion before starting a new one.** (95% success)
   ```
   Cancel the ongoing snapshot: `POST _snapshot/my_repo/snapshot_2025/_cancel` then wait for completion before starting a new one.
   ```
2. **If cancellation fails, delete the snapshot: `DELETE _snapshot/my_repo/snapshot_2025` (only if it is stuck and no data is needed).** (85% success)
   ```
   If cancellation fails, delete the snapshot: `DELETE _snapshot/my_repo/snapshot_2025` (only if it is stuck and no data is needed).
   ```

## Dead Ends

- **** — The error is not a timeout issue but a concurrency conflict; timeout settings do not prevent concurrent snapshots. (95% fail)
- **** — Restarting may cause data loss or corruption; the snapshot lock is stored in the cluster state and may persist after restart. (80% fail)
