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.
- File
Checkpoint Options - Independently selected root and bank copies. Defaults retain the existing single-root, single-bank mode and its file/I/O costs.
- File
Checkpoint Paged Log - Owns native devices at
path,.bank0and.bank1, with independently selected.mirrorcopies of the root and banks. Acquires every writer fence before validation or repair. Close never flushes pending records; it attempts every device in reverse order, root last. Uncertain cleanup retains the affected native writer fence. - File
Page Device - Native exclusive page device. Parent must exist. Existing/stale
.writerownership is never stolen; externally fence its process before removal. Close attempts all handles and retains ownership after any uncertain error. Prefer explicit close to observe cleanup errors; Drop preserves the fence. - 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.
- Sorted
Journal Entry - Sorted
Journal Table - Caller owns an exclusive immutable device. Open validates the whole file; get checks selected physical pages against its retained identity/hashes. Read failure never writes, retries a mutation or changes ownership.
- Sorted
Table Options
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.