{
  "slug": "prefix-preserving-crash-consistency",
  "term": "Prefix-preserving crash consistency",
  "aliases": [
    "Prefix-preserving disk model"
  ],
  "definition": "A recovery contract in which surviving updates form a prefix of the specified write order, including all writes covered by the last successful flush.",
  "note": "OPTR defines order at device request receipt and adds request-level atomicity; this is not application submission order or atomicity of an entire multi-request transaction. Its no-barrier usage relaxes durability. [optr]\n\nRecovery: Dirty-page overwrites can merge requests before flash programming. OPTR records these coalescing dependencies. Recovery cannot retain an incomplete request or separate coalesced requests across its boundary; stopping just before the first incomplete request can still be too late. The contract constrains recovered contents, not physical programming order. [optr]",
  "status": "research",
  "related": [
    "ftl",
    "snapshot-consistent-ftl",
    "torn-write"
  ],
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-12",
  "citations": [
    {
      "id": "optr",
      "title": "Chang and Liu. OPTR: Order-Preserving Translation and Recovery Design for SSDs. USENIX ATC 2019, pp. 1009-1024; sections 3.2, 3.5 and 5-7.",
      "url": "https://files.usenix.org/s3fs-public/cdn/atc19-chang_0.pdf",
      "accessed": "2026-11-12"
    },
    {
      "id": "hesela",
      "title": "Hesela: SSD mapping caches and recovery contracts",
      "url": "https://hesela.com/analyses/ssd-mapping-cache-hmb/#crash-contracts",
      "accessed": "2026-10-15"
    }
  ]
}
