{
  "slug": "atomic-recovery-unit",
  "term": "Atomic recovery unit",
  "aliases": [
    "ARU"
  ],
  "definition": "An atomic recovery unit groups Logical Disk operations into an all-or-none recovery boundary without itself guaranteeing durability or transaction isolation.",
  "note": "The 1996 design distinguishes per-ARU shadow versions, a shared committed state after EndARU, and persistent versions after explicit or implicit flushing. Recovery uses persistent versions. [icdcs1996]\n\nThe prototype reads its own shadow version first, then falls back to committed or persistent state. Clients still supply write concurrency control. [icdcs1996]\n\nAllocation is exceptional: reserving a block or list identifier immediately affects committed state; inserting a block into a list remains in its ARU's shadow state. Recovery may need to reclaim allocations left by incomplete ARUs. [icdcs1996]\n\nHesela's two-existing-block example recovers (0, 0) after EndARU without a flush, and (1, 1) after a completed flush. Its fixed no-background-flush schedule illustrates the boundary, not loss probability. [example]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "The single-threaded MINIX benchmark evaluates support overhead, not a scalability test of concurrent clients.",
      "citationIds": [
        "icdcs1996"
      ]
    }
  ],
  "related": [
    "logical-disk",
    "crash-consistency",
    "data-durability",
    "serializability"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "citations": [
    {
      "id": "icdcs1996",
      "title": "Grimm, Hsieh, de Jonge and Kaashoek. Atomic Recovery Units: Failure Atomicity for Logical Disks. ICDCS 1996, sections 3-5.",
      "url": "https://pdos.csail.mit.edu/archive/ld/arus.ps",
      "accessed": "2026-12-02"
    },
    {
      "id": "bibliography",
      "title": "MIT PDOS publication bibliography: SOSP 1993 (14th), pages 15-28; ICDCS 1996 (16th), pages 26-37.",
      "url": "https://pdos.csail.mit.edu/publications/",
      "accessed": "2026-12-02"
    },
    {
      "id": "example",
      "title": "Hesela: commit, flush and crash example for two existing blocks.",
      "url": "https://hesela.dev/research/logical-disk/README.md",
      "accessed": "2026-12-02"
    }
  ],
  "provenance": [
    "Primary-source review with a bounded teaching model; no original prototype execution or performance replication."
  ]
}
