{
  "slug": "retry-deduplication",
  "term": "Retry deduplication",
  "aliases": [
    "Duplicate request suppression"
  ],
  "definition": "Retry deduplication recognizes repeated submissions of one logical request so that an already completed mutation is not executed again.",
  "note": "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. [rifl]\n\nAdmission: 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. [rpc-code]\n\nExpiry: 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. [lease-code] [rifl]\n\nMigration: Durability alone does not make a record discoverable at a new owner; retry rendezvous is a separate obligation. [rifl]",
  "related": [
    "io-timeout",
    "io-fencing",
    "fencing-token",
    "idempotency",
    "idempotency-key",
    "retry-amplification",
    "retry-rendezvous",
    "curp",
    "rifl",
    "remote-procedure-call",
    "beldi"
  ],
  "citations": [
    {
      "id": "rifl",
      "title": "Lee et al. Implementing Linearizability at Large Scale and Low Latency. SOSP 2015; DOI 10.1145/2815400.2815416; sections 2-4, 7 and 9.",
      "url": "https://web.stanford.edu/~ouster/cgi-bin/papers/rifl.pdf",
      "accessed": "2026-11-10"
    },
    {
      "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-11"
    },
    {
      "id": "rpc-code",
      "title": "RAMCloud UnackedRpcResults.cc: checkDuplicate and Client::processAck, commit b1866af",
      "url": "https://github.com/PlatformLab/RAMCloud/blob/b1866af19124325a6dfd8cbc267e2e3ef1f965d1/src/UnackedRpcResults.cc",
      "accessed": "2026-11-26"
    },
    {
      "id": "lease-code",
      "title": "RAMCloud ClientLeaseValidator.h: validate, commit b1866af",
      "url": "https://github.com/PlatformLab/RAMCloud/blob/b1866af19124325a6dfd8cbc267e2e3ef1f965d1/src/ClientLeaseValidator.h",
      "accessed": "2026-11-26"
    }
  ],
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-26",
  "provenance": [
    "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."
  ]
}
