elasticsearch
resource_error
ai_generated
true
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
90%Fix Rate
90%Confidence
1Evidence
2024-06-10First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 7.10.0 | active | — | — | — |
| 7.17.0 | active | — | — | — |
| 8.0.0 | active | — | — | — |
Root Cause
A concurrent snapshot creation was attempted while another snapshot is still running in the same repository, which is not allowed.
generic中文
在同一个仓库中另一个快照仍在运行时尝试并发创建快照,这是不允许的。
Official Documentation
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/snapshot-restore.htmlWorkarounds
-
95% success Cancel the ongoing snapshot: `POST _snapshot/my_repo/snapshot_2025/_cancel` then wait for completion before starting a new one.
Cancel the ongoing snapshot: `POST _snapshot/my_repo/snapshot_2025/_cancel` then wait for completion before starting a new one.
-
85% success If cancellation fails, delete the snapshot: `DELETE _snapshot/my_repo/snapshot_2025` (only if it is stuck and no data is needed).
If cancellation fails, delete the snapshot: `DELETE _snapshot/my_repo/snapshot_2025` (only if it is stuck and no data is needed).
中文步骤
Cancel the ongoing snapshot: `POST _snapshot/my_repo/snapshot_2025/_cancel` then wait for completion before starting a new one.
If cancellation fails, delete the snapshot: `DELETE _snapshot/my_repo/snapshot_2025` (only if it is stuck and no data is needed).
Dead Ends
Common approaches that don't work:
-
95% fail
The error is not a timeout issue but a concurrency conflict; timeout settings do not prevent concurrent snapshots.
-
80% fail
Restarting may cause data loss or corruption; the snapshot lock is stored in the cluster state and may persist after restart.