{
  "slug": "idempotency",
  "term": "Idempotency",
  "aliases": [
    "Idempotence"
  ],
  "definition": "Idempotency is the property that repeating the same operation with identical inputs has the same intended effect as performing it once.",
  "note": "HTTP idempotency does not require identical responses or prohibit a separate log entry for each attempt (RFC 9110, section 9.2.2). It is not a durability or exactly-once execution guarantee. Repeating an assignment after another writer changes the value can overwrite that intervening update; duplicate suppression and concurrency control address distinct concerns.\n\nCrash recovery must retain the correct operands. CrookFS logs versioned old values for incremental parity replay. [shepherd07] A replay can be repeatable yet preserve inconsistent parity when it starts from mixed old/new blocks; a stale replay can also undo a later write. [parity-example]\n\nIn a controlled native Linux AIO retry, whole-list and suffix-only retries left identical fixed-offset file bytes but produced four versus three successful write completions. The append control exposed a repeated record. Equal final content did not establish exactly-once execution; these are one-host observations, not a durability or device-rate result. [native-observations]",
  "related": [
    "idempotency-key",
    "retry-deduplication",
    "io-timeout",
    "io-shepherding",
    "read-modify-write",
    "linux-native-aio"
  ],
  "citations": [
    {
      "id": "http-idempotency",
      "title": "RFC 9110: HTTP Semantics (June 2022), section 9.2.2, Idempotent Methods.",
      "url": "https://www.rfc-editor.org/rfc/rfc9110.html#section-9.2.2",
      "accessed": "2026-10-15"
    },
    {
      "id": "hesela-timeouts",
      "title": "Storage timeouts: an expired timer is not a cancelled write",
      "url": "https://hesela.com/analyses/storage-timeouts-uncertain-completion/",
      "accessed": "2026-10-15"
    },
    {
      "id": "shepherd07",
      "title": "Gunawi et al. I/O Shepherding, SOSP 2007, section 4.1.4: non-idempotent policies",
      "url": "https://research.cs.wisc.edu/adsl/Publications/shepherd-sosp07.pdf",
      "accessed": "2026-11-09"
    },
    {
      "id": "parity-example",
      "title": "Hesela: restartable parity repair, explicit model and counterexamples",
      "url": "https://hesela.com/analyses/filesystem-checksum-error-detection/#parity-replay",
      "accessed": "2026-11-09"
    },
    {
      "id": "native-observations",
      "title": "Hesela: native AIO partial submission, frozen observations and derived results.",
      "url": "https://hesela.dev/research/native-aio-prefix/summary.json",
      "accessed": "2026-11-14"
    },
    {
      "id": "native-reproduce",
      "title": "Hesela: native AIO source, observations, tests and exact-member offline archive.",
      "url": "https://hesela.dev/research/native-aio-prefix/reproduce.zip",
      "accessed": "2026-11-14"
    }
  ],
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-14"
}
