Skip to main content

Module subsystem

Module subsystem 

Source

Re-exports§

pub use context::BootstrapCtx;
pub use errors::BootstrapError;
pub use errors::ShutdownError;
pub use errors::TopoError;
pub use health::ClusterHealth;
pub use health::SubsystemHealth;
pub use impls::DecommissionSubsystem;
pub use impls::ReachabilitySubsystem;
pub use impls::RebalancerSubsystem;
pub use impls::SwimSubsystem;
pub use impls::SwimSubsystemConfig;
pub use registry::RunningCluster;
pub use registry::SubsystemRegistry;
pub use topo_sort::topo_sort;
pub use trait::ClusterSubsystem;
pub use trait::SubsystemHandle;

Modules§

context
BootstrapCtx — shared context passed to every subsystem at start time.
errors
Error types for the subsystem bootstrap and shutdown lifecycle.
health
Subsystem health tracking — per-subsystem state and cluster-wide aggregation.
impls
registry
SubsystemRegistry — owns a collection of subsystems, resolves their dependency order, starts them, and coordinates clean shutdown on failure.
topo_sort
Topological sort for the subsystem dependency graph.
trait
The ClusterSubsystem trait — the shared interface every subsystem implements.