Expand description
Optional SQL-free shadow pages for the ordered log, independent of logical revision and replication strategies. See docs/protocol/native-pages.md.
Structs§
- Checkpoint
Paged Log - Optional atomic journal replacement over three exclusive device values. Root data is unused; its two metadata slots select one complete page bank. Bank identities bind each reuse to a distinct monotone root epoch. Neither extraction nor destruction flushes pending records. A failed I/O fences this owner; reopen all devices to discover its actual durable state. Destruction drops both banks before the root, following device destructors.
- Mirrored
Checkpoint Root - Owns two exclusive raw root devices. No repair runs during selection; the checkpoint log validates its selected bank before completing root recovery. Both decision copies must synchronize before publication is acknowledged. Extracting the devices never flushes or repairs them.
- Mirrored
Page Device - Owns two exclusive repair-capable devices. Extraction does not flush records. Both data syncs precede any metadata write; both decision syncs precede ACK.
- Paged
Log - Immutable committed doublets pages and alternating metadata decisions. Appends stage UTF-8 strings; flush publishes the complete pending group. Read/flush errors fence this owner; reopen and discover an uncertain outcome. Extraction transfers device ownership without flushing pending records.
Constants§
Traits§
- Page
Device - Caller-owned exclusive synchronous storage. Successful sync must persist all preceding writes in that file. Mutation failure requires reopening the log.
- Repair
Page Device - Privileged repair of an existing page or contiguous missing suffix. The caller must validate a surviving copy and the complete logical prefix first.