The leader is killed
- What to expect
- The remaining two servers elect a new leader — about 2.2 seconds after the crash with the default timeouts. The gateways resubmit commands that were pending. The device waits briefly (at most about 2.5 seconds in the benchmarks); nothing that was confirmed is lost, and a retry of a record that was already stored is answered once more, not stored twice.
- Assumptions
- Two of the three servers remain and reach each other. Leader failure is detected after cluster.leader.heartbeat.timeout (1.5 s by default; the Helm chart uses 2.5 s).
- Recovery
- Automatic. The killed server rejoins as a follower when it restarts and catches up from the log.
- Limits
- Requests in flight wait for the election; a device with a timeout shorter than the failover retransmits, which is counted once.
- Evidence
- End-to-end leader failover test on every change; the leader killed under load nightly on Kubernetes and in every benchmark run.
Read the explanation → Failure matrix: leader killed under load ↗