Retry deduplication
Retry deduplication recognizes repeated submissions of one logical request so that an already completed mutation is not executed again.
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
- Lee et al. Implementing Linearizability at Large Scale and Low Latency. SOSP 2015; DOI 10.1145/2815400.2815416; sections 2-4, 7 and 9.
- RAMCloud UnackedRpcResults.cc: checkDuplicate and Client::processAck, commit b1866af
- RAMCloud ClientLeaseValidator.h: validate, commit b1866af
Further reading
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.