Expand description
Authoritative server storage runtime (P0.2 / ADR-0001).
The daemon holds exactly one of:
ServerStorageRuntime::Standalone— ordinary single-node data plane over a localmongreldb_core::Database- [
ServerStorageRuntime::Cluster] — consensus/tablet data plane via [crate::cluster_runtime::ClusterRuntimeHandle]; ordinary public writes must not use a standalone WAL bypass
Dual-root ownership (standalone user database + live cluster runtime as peer data planes) is refused.
The standalone types (StandaloneRuntime, ServerStorageRuntime,
StorageRuntimeError) are always compiled — the hot SQL path is typed over
them. The cluster pieces (ClusterGatewayRuntime, the Cluster variant,
and the cluster accessors) exist only with the cluster feature.
Structs§
- Standalone
Runtime - Standalone (single-node server) data plane.
- Storage
Runtime Error - Error when code asks the standalone data plane for a cluster process (or the reverse).
Enums§
- Server
Storage Runtime - Single authoritative storage runtime for the HTTP/native daemon (P0.2).