retry-deduplication · shipping · also Duplicate request suppression

Retry deduplication

Retry deduplication recognizes repeated submissions of one logical request so that an already completed mutation is not executed again.

Related Observatory article: Read on hesela.com

RIFL couples request identity with durable completion records and defines migration and reclamation rules. This is distinct from data deduplication. A new request identity or lost recovery state can defeat a duplicate check. [1]

Admission: In the pinned implementation, only the new-request branches of checkDuplicate validate the lease. A retained in-progress or completed record is recognized as a duplicate without that validation; a completed record supplies the original reply. Requests at or below the tracked acknowledgement frontier raise StaleRpcException. These are function-level distinctions, not a promise that every expired-lease retry will receive a reply. [3]

Expiry: A local expiry estimate triggers coordinator validation, not automatic rejection. A zero lease identifier from the coordinator makes validation fail. This cannot establish whether an earlier operation completed; a new lease does not recover the old request identity. [4] [1]

Migration: Durability alone does not make a record discoverable at a new owner; retry rendezvous is a separate obligation. [1]

Relations

related
I/O timeout, I/O fencing, Fencing token, Idempotency, Idempotency key, Retry amplification, Retry rendezvous, CURP, RIFL, Remote procedure call (RPC), Beldi

Citations

  1. Lee et al. Implementing Linearizability at Large Scale and Low Latency. SOSP 2015; DOI 10.1145/2815400.2815416; sections 2-4, 7 and 9. (accessed 2026-11-10)
  2. RAMCloud UnackedRpcResults.cc: checkDuplicate and Client::processAck, commit b1866af (accessed 2026-11-26)
  3. RAMCloud ClientLeaseValidator.h: validate, commit b1866af (accessed 2026-11-26)

Further reading

  1. Storage timeouts: an expired timer is not a cancelled write (accessed 2026-10-11)
Sources & caveats
  • Paper design and RAMCloud commit b1866af19124325a6dfd8cbc267e2e3ef1f965d1 reviewed separately. This later commit is not identified as the paper's evaluated artifact; no recovery experiment or end-to-end proof is claimed.

JSON: /data/terms/retry-deduplication.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Retry deduplication. Hesela. 2026-11-26. https://hesela.dev/terms/retry-deduplication/