Expand description
NodeDB server core: pgwire / HTTP / native transports, the SQL planner integration, the SPSC bridge to the Data Plane, all storage engines, and the Event Plane (triggers / CDC / scheduler).
This crate is the heart of the Origin (cloud and single-node) deployment
mode. The binary entry point is src/main.rs; the library entry point
exposes the modules below for embedding scenarios that want to drive the
server from another process. Most external users should depend on
nodedb-client instead.
Re-exports§
pub use config::EngineConfig;pub use config::ServerConfig;pub use error::Error;pub use error::Result;pub use types::ReadConsistency;pub use types::RequestId;
Modules§
- bootstrap
- bridge
- config
- control
- ctl
- Operator subcommands for the
nodedbbinary (L.4). - data
- engine
- error
- event
- fail_
point - Minimal feature-gated fail-point framework for crash-injection tests.
- memory
- query
- storage
- types
- util
- Shared utility functions.
- version
- NodeDB version and compatibility information.
- wal
Macros§
- fail_
point - Inject a fail point. Expands to nothing without the
failpointsfeature.
Structs§
- Document
Id - Identifies a document/row across all engines.
- Error
Code - Stable numeric error codes for programmatic error handling.
- Lsn
- Log Sequence Number.
- Node
DbError - Public error type returned by all
NodeDbtrait methods. - Tenant
Id - Identifies a tenant. All data is tenant-scoped by construction.
- VShard
Id - Identifies a virtual shard (0..1023). Data is hashed to vShards by shard key.
Type Aliases§
- Node
DbResult - Result alias for NodeDb operations.