{
  "id": "aws/dynamodb-table-in-archiving-state",
  "signature": "An error occurred (ResourceInUseException) when calling the DescribeTable operation: Table is in ARCHIVING state and cannot be described",
  "signature_zh": "调用 DescribeTable 操作时出错（ResourceInUseException）：表处于归档状态，无法描述",
  "regex": "An error occurred \\(ResourceInUseException\\) when calling the DescribeTable operation: Table is in ARCHIVING state",
  "domain": "aws",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "The DynamoDB table is being archived (e.g., via a backup or deletion process), and operations like DescribeTable are blocked until archiving completes.",
  "root_cause_type": "generic",
  "root_cause_zh": "DynamoDB 表正在被归档（例如，通过备份或删除过程），像 DescribeTable 这样的操作被阻止，直到归档完成。",
  "versions": [
    {
      "version": "dynamodb-2012-08-10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "aws-cli/2.17.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Force delete the table using `aws dynamodb delete-table`",
      "why_fails": "If the table is in ARCHIVING state, it is already being deleted or backed up; delete-table will fail with the same error.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    },
    {
      "action": "Restore the table from a backup while it is archiving",
      "why_fails": "Restore operations require the table to be in ACTIVE state; archiving blocks both reads and writes.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Wait for the archiving process to complete. Monitor table status with `aws dynamodb wait table-exists --table-name mytable` or check CloudWatch events for backup completion.",
      "success_rate": 0.95,
      "how": "Wait for the archiving process to complete. Monitor table status with `aws dynamodb wait table-exists --table-name mytable` or check CloudWatch events for backup completion.",
      "condition": "",
      "sources": []
    },
    {
      "action": "If archiving is taking too long, contact AWS Support to expedite or cancel the operation, as it may be stuck due to large table size or throttling.",
      "success_rate": 0.6,
      "how": "If archiving is taking too long, contact AWS Support to expedite or cancel the operation, as it may be stuck due to large table size or throttling.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use DynamoDB Streams to capture changes before archiving begins; after archiving completes, recreate the table and replay changes.",
      "success_rate": 0.7,
      "how": "Use DynamoDB Streams to capture changes before archiving begins; after archiving completes, recreate the table and replay changes.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "等待归档过程完成。使用 `aws dynamodb wait table-exists --table-name mytable` 监控表状态，或检查 CloudWatch 事件以了解备份完成情况。",
    "如果归档时间过长，请联系 AWS Support 以加速或取消操作，因为可能由于表过大或节流而卡住。",
    "在归档开始前使用 DynamoDB Streams 捕获更改；归档完成后，重新创建表并重放更改。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/BackupInProgress.html",
  "official_doc_section": null,
  "error_code": "ResourceInUseException",
  "verification_tier": "ai_generated",
  "confidence": 0.8,
  "fix_success_rate": 0.85,
  "resolvable": "partial",
  "first_seen": "2024-01-10",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}