{
  "id": "elasticsearch/snapshot-in-progress",
  "signature": "ConcurrentSnapshotExecutionException: [my_repo:snapshot_2025] cannot create snapshot - a snapshot is already in progress for repository [my_repo]",
  "signature_zh": "ConcurrentSnapshotExecutionException: [my_repo:snapshot_2025] 无法创建快照 - 仓库 [my_repo] 已有快照正在进行中",
  "regex": ".*ConcurrentSnapshotExecutionException.*cannot create snapshot.*snapshot is already in progress.*",
  "domain": "elasticsearch",
  "category": "resource_error",
  "subcategory": null,
  "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.",
  "root_cause_type": "generic",
  "root_cause_zh": "同一仓库已有快照操作正在进行中，默认情况下 Elasticsearch 不允许对同一仓库执行并发快照。",
  "versions": [
    {
      "version": "7.10.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "7.17.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "8.0.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "8.9.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Deleting an in-progress snapshot may cause repository corruption or leave partial data. It is not recommended.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Snapshot state is persisted in the repository metadata, not just memory. Restarting nodes does not release the lock.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This does not resolve the conflict for the original repository; it only creates a workaround that may not be feasible for production.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Check the current snapshot status and wait for completion: GET _snapshot/my_repo/_current",
      "success_rate": 0.9,
      "how": "Check the current snapshot status and wait for completion: GET _snapshot/my_repo/_current",
      "condition": "",
      "sources": []
    },
    {
      "action": "Abort the running snapshot gracefully: POST _snapshot/my_repo/snapshot_name/_cancel",
      "success_rate": 0.85,
      "how": "Abort the running snapshot gracefully: POST _snapshot/my_repo/snapshot_name/_cancel",
      "condition": "",
      "sources": []
    },
    {
      "action": "Increase the snapshot timeout to allow longer operations: PUT _cluster/settings { \"persistent\": { \"snapshot.max_concurrent_operations\": 2 } } (requires Elasticsearch 8.0+)",
      "success_rate": 0.75,
      "how": "Increase the snapshot timeout to allow longer operations: PUT _cluster/settings { \"persistent\": { \"snapshot.max_concurrent_operations\": 2 } } (requires Elasticsearch 8.0+)",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Check the current snapshot status and wait for completion: GET _snapshot/my_repo/_current",
    "Abort the running snapshot gracefully: POST _snapshot/my_repo/snapshot_name/_cancel",
    "Increase the snapshot timeout to allow longer operations: PUT _cluster/settings { \"persistent\": { \"snapshot.max_concurrent_operations\": 2 } } (requires Elasticsearch 8.0+)"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-take-snapshot.html",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.83,
  "resolvable": "true",
  "first_seen": "2024-03-10",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}