Incarnation identifier
An incarnation identifier distinguishes successive instances of a process, machine or server whose local identifiers may otherwise be reused.
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. [1]
On 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. [1]
TCP 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. [3]
A 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. [4]
GNU's numsync extension expects adjacent snapshot counts. The field orders snapshots but should not be classified as an incarnation identifier. [5]
A deliberately invalid file returned OK but failed reader-open, separating selection success from database readability. [4] GNU requires gdbm_sync only at a recoverable application state; the counter certifies neither identity nor application invariants. [6]
Relations
Advantages
- Lets a receiver reject messages meant for an earlier instance without persisting per-sender sequence state across restarts. [1]
Limitations
- Values drawn from a wrapping counter repeat after one cycle, so they are safe only while old messages cannot outlive that cycle. [3]
- Predictable values can be guessed, which is why TCP adds a secret-keyed pseudorandom function to its clock-based initial sequence numbers. [3]
Citations
- Birrell and Nelson. Implementing Remote Procedure Calls (1984), section 3.2, pp. 50-51
- IETF RFC 9293. Transmission Control Protocol (TCP), sections 3.4.1-3.4.3: initial sequence numbers and quiet time.
- Hesela: GDBM recovery selection, database identity and reader-open controls
- GNU GDBM manual: Numsync Extension
- GNU GDBM 1.23 manual: Synchronizing the Database (doc/gdbm.texi)
Further reading
Sources & caveats
- 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.