Skip to main content

Crate aingle_raft

Crate aingle_raft 

Source
Expand description

Raft consensus for AIngle clustering.

Uses openraft for leader election and log replication, backed by the AIngle WAL for durable log storage.

Re-exports§

pub use types::CortexTypeConfig;
pub use types::CortexRequest;
pub use types::CortexResponse;
pub use types::CortexNode;
pub use types::NodeId;
pub use consistency::ConsistencyLevel;

Modules§

consistency
Consistency levels for read operations.
log_store
Raft log storage backed by WAL segments.
network
Raft network layer — bridges openraft RPC to QUIC P2P transport.
snapshot_builder
Snapshot builder for the Raft state machine.
state_machine
Raft state machine — applies committed entries to GraphDB + Ineru.
types
OpenRaft type configuration for Cortex.