Expand description
High-Availability subsystem for multi-CA failover.
Implements RHELBU-3536 requirements R1 through R6:
- R1: Multiple CA backend support with independent health tracking
- R2: Circuit-breaker pattern with configurable cooldown
- R3: Pluggable failover strategies (active-passive, round-robin, weighted, latency)
- R4: Health probes with state machine transitions
- R5: Automatic failover on CA unavailability
- R6: Graceful degradation when all CAs are unhealthy
Re-exports§
pub use health::HealthChecker;pub use health::HealthConfig;pub use health::HealthState;pub use pool::CaConnection;pub use pool::CaId;pub use pool::CaPool;pub use pool::CaStatus;pub use strategy::FailoverStrategy;pub use strategy::FallbackBehavior;pub use strategy::StrategySelector;
Modules§
- health
- Periodic health probing with state machine transitions.
- pool
- CA connection pool with circuit-breaker and priority weighting.
- strategy
- Failover strategy implementations (RHELBU-3536 R3).
Structs§
- HaManager
- Central coordinator for the HA subsystem.