Skip to main content

laminar_core/cluster/
mod.rs

1//! Cluster coordination: discovery and control plane.
2
3/// Node discovery and membership.
4#[cfg(feature = "cluster")]
5pub mod discovery;
6
7/// Control plane: leader election, assignment snapshots, barrier
8/// coordination.
9#[cfg(feature = "cluster")]
10pub mod control;
11
12/// Feature-neutral control-plane value types for non-cluster builds.
13#[cfg(not(feature = "cluster"))]
14pub mod control {
15    pub use crate::catalog::CatalogObjectKind;
16    pub use crate::checkpoint::{
17        CheckpointAssignmentAdoption, CheckpointAssignmentFence, CheckpointParticipant,
18        LeaderProof, LeaderProofOwner,
19    };
20}
21
22/// In-process harness for cluster integration tests. Gated because
23/// it pulls in chitchat on loopback UDP.
24#[cfg(feature = "cluster")]
25pub mod testing;