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
46
47
48
49
50
51
52
53
54
//! Storage-engine entrypoints, owner map, and refactor guardrails.
//!
//! The engine is split into three layers so contributors can change one concern
//! without re-reading the full ingest, persistence, and query stack on every
//! edit:
//! - Foundation libraries: `chunk`, `compactor`, `encoder`, `query`,
//! `segment`, `series`, `wal`, and the smaller format/utilities they build
//! on.
//! - Shared shell/state: `storage_engine` / `engine.rs`, `construction`,
//! `core_impl`, `state`, `visibility`, `runtime`, `metadata_lookup`,
//! `shard_routing`, `metrics`, `observability`, and `process_lock`.
//! - Owner modules: `bootstrap`, `ingest` + `ingest_pipeline`, `write_buffer`,
//! `lifecycle`, `maintenance` + `tiering` + `registry_catalog`,
//! `query_exec` + `query_read`, `deletion`, and `rollups`.
//!
//! Placement rules:
//! - Keep new product logic in the owning subsystem; `engine.rs` and
//! `core_impl.rs` are the integration shell, not the default overflow area.
//! - When an owner already delegates to child modules such as `bootstrap/*`,
//! `ingest_pipeline/*`, `lifecycle/*`, `maintenance/*`, `query_exec/*`,
//! `query_read/*`, `tiering/*`, or `visibility/*`, extend the owning child
//! instead of growing the parent orchestration file.
pub
/// Immutable in-memory chunk layout and chunk builder primitives.
/// Immutable segment compaction and rewrite helpers.
pub
/// Chunk encoding and compression codecs.
/// Filesystem utilities used by durable engine paths.
/// Persisted index and postings lookup helpers.
/// Query planning helpers shared across storage and server callers.
/// Immutable on-disk segment format and segment loading.
/// Series registry, postings, and label/metric dictionaries.
/// `ChunkStorage` and the shared engine state graph.
pub
/// Write-ahead log framing, append, and replay.
pub use storage_engine as engine;
pub const STORAGE_FORMAT_VERSION: u16 = 2;
pub const DEFAULT_CHUNK_POINTS: usize = crateDEFAULT_CHUNK_POINTS;
pub use ;