1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// SPDX-License-Identifier: AGPL-3.0-only
//! Quiver's storage engine: from-scratch, durable, crash-safe, encrypted-at-rest
//! storage built on 16 KiB pages, a write-ahead log, and a versioned manifest.
//!
//! This crate owns all durable state (ADR-0004 / ADR-0005) and is deliberately
//! built without an embedded KV/DB engine. Phase 1 ships the foundational
//! primitives; the columnar segment layout, the store-level engine, and crash
//! recovery build on top of them.
//!
//! - [`page`] — the 16 KiB page: the unit of checksum, encryption, and I/O,
//! with a swappable [`page::PageCodec`] (plaintext now, AEAD with
//! `quiver-crypto`).
//! - [`wal`] — the write-ahead log: the durability anchor. An acknowledged write
//! is `fsync`'d to the log first, so it survives `kill -9`.
//! - [`manifest`] — the versioned catalog, made current via an atomic
//! write-new + fsync + rename of `CURRENT`.
//! - [`store`] — the [`store::Store`] engine: the write path, checkpointing, and
//! crash recovery that compose the primitives above, over internal sealed
//! segments.
//! - [`descriptor`] — collection schema; [`ids`] — typed [`ids::Lsn`] /
//! [`ids::CollectionId`].
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;