Expand description
Leader Election for Distributed Write Coordination
Implements leader election using a lease-based approach with:
- Lease acquisition and renewal
- Automatic failover on leader failure
- Fencing tokens to prevent split-brain
- Integration with gossip for failure detection
Structs§
- Election
Config - Configuration for leader election
- Election
Manager - Leader election manager for multiple groups
- Election
Stats - Statistics about election state
- Leader
Election - Leader election coordinator
- Leader
Info - Information about the current leader
- Vote
- Vote in an election
- Vote
Request - Request for votes in an election
Enums§
- Election
Error - Errors that can occur during election
- Election
Event - Events emitted by the election system
- Election
State - State of a leader election