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.
- Maintenance
Limits - Finite policy for one snapshot or online compaction operation.
- 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
Limits - Finite policy for one complete open/recovery operation.
- 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.
- Snapshot
Receipts - Receipts retained by an offline migration witness without changing the public snapshot payload shape.
- Snapshot
Vector Entry - One verified durable vector loaded from a canonical snapshot.
- Storage
Engine - Single-writer durable KV storage composed from the log and rebuildable redb index.
- Storage
Limits - Complete finite policy for opening and maintaining one data directory.
- Storage
Recovery Report - Recovery evidence returned when the complete embedded storage layer opens.
- Vector
Entry - One durable vector entry materialized from authoritative logical state.
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.
- Scan
Page Error - Failure while scanning one page under an explicit aggregate byte budget.
- Snapshot
Error - Failure while creating or verifying a logical snapshot.
- Storage
Error - Failure while opening or operating the durable embedded storage engine.
- Storage
Limit Error - Failure of a finite storage recovery or maintenance policy.
- Vector
Entries Error - Failure while reading a vector space under an explicit end-to-end retrieval deadline.
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.
- load_
snapshot_ for_ migration - Loads a migration witness with durable source receipts.
- load_
snapshot_ with_ timeout - Loads a verified snapshot under explicit resource limits and a cooperative end-to-end timeout.
- open_
verified_ snapshot_ with_ limits - Opens one snapshot, verifies that exact file handle under explicit limits, rewinds it, and returns the still-open verified handle for safe streaming.
- restore_
backup - Restores a verified backup to a new data directory.
- storage_
limit_ from_ io - Recovers a typed finite-policy failure carried through an existing I/O error variant.
- verify_
backup - Verifies a backup layout, bounded manifest, and complete snapshot.
- verify_
snapshot - Streams and verifies a snapshot without opening a Hyphae data directory.
- verify_
snapshot_ with_ limits - Streams and verifies a snapshot under explicit resource limits and one cooperative end-to-end timeout.