Expand description
WAL segment envelopes, records, and codecs.
Structs§
- WalCommit
Delta - Associates a materialized WAL delta with the semantic operation that produced it.
- WalCommit
Payload - Carries one accepted logical commit inside a WAL segment.
- WalSegment
Envelope - In-memory view of a WAL segment envelope.
- WalSegment
Payload - Carries the namespace-specific chain metadata and commits stored in one WAL object.
Enums§
- WalDelta
- Records one replayable metadata mutation materialized from a semantic commit operation.
- WalEnvelope
Kind - Identifies the durable payload family carried by a WAL envelope.
Constants§
- WAL_
FORMAT_ VERSION - Version 1: a zstd-compressed CBOR envelope document carrying the payload
as an opaque CBOR byte string.
payload_checksumcovers exactly those bytes, and delta/precondition tags use the snake_case names the format spec fixes (“Standard mutation operations” and “Preconditions”).
Functions§
- decode_
wal_ segment_ envelope_ zstd - Decodes and verifies a durable zstd-compressed WAL segment envelope.
- encode_
wal_ segment_ envelope_ zstd - Encodes a WAL envelope as its durable zstd-compressed CBOR representation.