Expand description
Durable log, recovery, snapshot, and materialized-index implementation.
Structs§
- Backup
Info - Verified metadata for one portable backup directory.
- Commit
Receipt - Durable identity of a committed transaction.
- Compaction
Report - Evidence for one successfully committed compaction generation.
- Data
Directory - An exclusively owned Hyphae data directory.
- Durable
Log - Append-only transaction log with synchronous commit durability.
- KvEntry
- One binary KV entry in canonical key order.
- KvPage
- One bounded ordered KV scan page.
- Opened
Log - A newly opened writer together with its recovery evidence.
- Opened
Storage - A newly opened storage engine and its recovery evidence.
- Recovered
Transaction - A committed transaction reconstructed from the verified log.
- Recovery
Report - Evidence produced while opening and validating a segment.
- Restore
Info - Evidence that a backup was fully verified before destination activation.
- Snapshot
Contents - Fully verified logical snapshot contents for offline operations.
- Snapshot
Entry - One verified logical KV entry loaded from a canonical snapshot.
- Snapshot
Info - Verified metadata for one logical snapshot.
- Snapshot
Read Limits - Resource limits for loading a verified logical snapshot as an offline witness.
- Storage
Engine - Single-writer durable KV storage composed from the log and rebuildable redb index.
- Storage
Recovery Report - Recovery evidence returned when the complete embedded storage layer opens.
Enums§
- Append
Outcome - Result of an idempotent append request.
- Backup
Error - Failure while creating, verifying, or restoring a portable backup.
- Compaction
Outcome - Result of an online compaction request.
- Data
Directory Error - Failure while opening or initializing a Hyphae data directory.
- LogError
- Failure while opening, validating, or appending to a durable log.
- Manifest
Error - Failure while loading or atomically creating a storage manifest.
- Materialized
Index Error - Failure while opening, verifying, or updating the rebuildable redb index.
- Mutation
- A deterministic mutation persisted inside one transaction operation frame.
- Mutation
Error - Failure while validating or decoding a persisted mutation.
- Snapshot
Error - Failure while creating or verifying a logical snapshot.
- Storage
Error - Failure while opening or operating the durable embedded storage engine.
Constants§
- MAX_
KEY_ BYTES - Maximum encoded key length accepted by the embedded KV layer.
- MAX_
SCAN_ PAGE_ ENTRIES - Maximum KV entries returned by one ordered storage scan page.
Functions§
- load_
snapshot - Loads every logical KV entry from a verified snapshot under explicit resource limits.
- restore_
backup - Restores a verified backup to a new data directory.
- verify_
backup - Verifies a backup layout, bounded manifest, and complete snapshot.
- verify_
snapshot - Streams and verifies a snapshot without opening a Hyphae data directory.