nodedb-cluster 0.4.0

Distributed coordination layer for NodeDB — vShards, QUIC transport, and replication
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: BUSL-1.1

//! Single tick of the Raft event loop — split by concern:
//! - [`core`]: `do_tick` orchestration, learner promotion, and the
//!   `should_promote_learner` decision.
//! - [`dispatch_outbound`]: batch + dispatch outbound AppendEntries /
//!   RequestVote / TimeoutNow messages.
//! - [`apply_committed`]: apply a group's committed entries (conf-changes,
//!   metadata/data applier dispatch, watermark advance, epoch bump).
//! - [`snapshot_dispatch`]: dispatch `InstallSnapshot` RPCs to lagging peers.

mod apply_committed;
mod core;
mod dispatch_outbound;
mod snapshot_dispatch;