{
  "aliases": [],
  "status": "unknown",
  "advantages": [
    {
      "text": "Lets a receiver reject messages meant for an earlier instance without persisting per-sender sequence state across restarts.",
      "citationIds": [
        "c1"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Values drawn from a wrapping counter repeat after one cycle, so they are safe only while old messages cannot outlive that cycle.",
      "citationIds": [
        "rfc9293"
      ]
    },
    {
      "text": "Predictable values can be guessed, which is why TCP adds a secret-keyed pseudorandom function to its clock-based initial sequence numbers.",
      "citationIds": [
        "rfc9293"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-05",
  "slug": "incarnation-identifier",
  "term": "Incarnation identifier",
  "definition": "An incarnation identifier distinguishes successive instances of a process, machine or server whose local identifiers may otherwise be reused.",
  "note": "Birrell and Nelson's RPC design passes a conversation identifier with every call sequence number to distinguish incarnations of a calling machine, so sequence numbers need not survive a restart. Conversation identifiers come from a 32-bit clock that each machine initializes from network time servers when it restarts. [c1]\n\nOn the server side, each exported interface carries a unique identifier that the callee checks on every call. A binding is therefore implicitly broken when the exporter crashes and restarts, so a client learns of a crash that happened between calls. [c1]\n\nTCP has the same problem with connection incarnations. Its initial sequence numbers come from a 32-bit clock that ticks about every 4 µs and cycles roughly every 4.55 hours. An endpoint that has lost its sequence-number memory must stay quiet for one maximum segment lifetime, taken as 2 minutes. [rfc9293]\n\nA recovery counter is not necessarily an incarnation identifier. Hesela's constructed GDBM 1.23 selector accepted adjacent counts from independently created databases. Caller-side evidence must bind the pair to its intended database; these mispaired inputs do not demonstrate failure of GDBM's correctly used crash-tolerance protocol. [gdbm-selection]\n\nGNU's numsync extension expects adjacent snapshot counts. The field orders snapshots but should not be classified as an incarnation identifier. [gdbm-numsync]\n\nA deliberately invalid file returned OK but failed reader-open, separating selection success from database readability. [gdbm-selection] GNU requires gdbm_sync only at a recoverable application state; the counter certifies neither identity nor application invariants. [gdbm-sync]",
  "related": [
    "serial-number-arithmetic",
    "transaction-id-wraparound",
    "lost-write"
  ],
  "citations": [
    {
      "id": "c1",
      "title": "Birrell and Nelson. Implementing Remote Procedure Calls (1984), section 3.2, pp. 50-51",
      "url": "https://www.cl.cam.ac.uk/teaching/0708/DigiCommI/birrell1984rpc.pdf",
      "accessed": "2026-10-18"
    },
    {
      "id": "c2",
      "title": "Hesela: ordering storage generations across counter wrap",
      "url": "https://hesela.com/analyses/storage-generation-counter-wraparound/#incarnations",
      "accessed": "2026-10-18"
    },
    {
      "id": "rfc9293",
      "title": "IETF RFC 9293. Transmission Control Protocol (TCP), sections 3.4.1-3.4.3: initial sequence numbers and quiet time.",
      "url": "https://www.rfc-editor.org/rfc/rfc9293",
      "accessed": "2026-10-22"
    },
    {
      "id": "gdbm-selection",
      "title": "Hesela: GDBM recovery selection, database identity and reader-open controls",
      "url": "https://hesela.com/analyses/storage-generation-counter-wraparound/#gdbm-selection",
      "accessed": "2026-11-04"
    },
    {
      "id": "gdbm-numsync",
      "title": "GNU GDBM manual: Numsync Extension",
      "url": "https://www.gnu.org.ua/software/gdbm/manual/Numsync.html",
      "accessed": "2026-10-26"
    },
    {
      "id": "gdbm-sync",
      "title": "GNU GDBM 1.23 manual: Synchronizing the Database (doc/gdbm.texi)",
      "url": "https://www.gnu.org.ua/software/gdbm/manual/Synchronizing-the-Database.html",
      "accessed": "2026-11-05"
    }
  ],
  "provenance": [
    "c1 is the 1984 ACM Transactions on Computer Systems paper by Birrell and Nelson, re-read on 2026-10-22 in its binding and call semantics sections.",
    "The 32-bit clock for conversation identifiers comes from c1.",
    "rfc9293 is IETF RFC 9293, Transmission Control Protocol, read on 2026-10-22 in sections 3.4.1 to 3.4.3.",
    "The 32-bit clock, about 4 µs tick, 4.55-hour cycle and 2-minute maximum segment lifetime come from rfc9293.",
    "The GDBM application analogy is based on nine constructed GDBM 1.23 selector cases, with independent source/prose review and outcome replay; no crash, reflink operation or correctly used protocol failure is claimed.",
    "The 4 November four-case selector/reader supplement was author-verified with two native captures; the earlier independent review covers only the original nine cases.",
    "The synchronization-point limitation was checked against the official GDBM 1.23 source archive on 2026-11-05; it is source synthesis, not another native experiment."
  ]
}
