Skip to main content

Module ids

Module ids 

Source
Expand description

Identifier generators and types per design.md §1.1.

Functions§

format_node_id
Format a monotonic per-run node_id (e.g. n-0001).
new_op_id
Generate a new lowercase-ULID operation id, used to name a single crash-recoverable transaction (e.g. one run merge attempt’s MergeTxn). Monotonic and collision-free, so recovery can name exactly which transaction it resolved.
new_run_id
Generate a new lowercase-ULID run_id.