idempotency · shipping · also Idempotence

Idempotency

Idempotency is the property that repeating the same operation with identical inputs has the same intended effect as performing it once.

Related Observatory article: Read on hesela.com

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.

Crash recovery must retain the correct operands. CrookFS logs versioned old values for incremental parity replay. [3] 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. [4]

In 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. [5]

Relations

related
Idempotency key, Retry deduplication, I/O timeout, I/O shepherding, Read-modify-write, Linux native AIO

Citations

  1. Gunawi et al. I/O Shepherding, SOSP 2007, section 4.1.4: non-idempotent policies (accessed 2026-11-09)
  2. Hesela: restartable parity repair, explicit model and counterexamples (accessed 2026-11-09)
  3. Hesela: native AIO partial submission, frozen observations and derived results. (accessed 2026-11-14)

Further reading

  1. RFC 9110: HTTP Semantics (June 2022), section 9.2.2, Idempotent Methods. (accessed 2026-10-15)
  2. Storage timeouts: an expired timer is not a cancelled write (accessed 2026-10-15)
  3. Hesela: native AIO source, observations, tests and exact-member offline archive. (accessed 2026-11-14)

JSON: /data/terms/idempotency.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Idempotency. Hesela. 2026-11-14. https://hesela.dev/terms/idempotency/