~/talk

Leader Election: Pitfalls and Alternatives

slides:none on file

Leader election requires explicit fencing not just consensus: a lost leader can keep acting if downstream systems accept stale writes. Google Cloud Router’s control plane (the VRM/VRC pair) suffers a blocking init bug that lets old leaders stay connected, triggering mass deprogramming and an outage lasting 8 hours 34 minutes. The recommended fixes are fencing tokens (fencing token (sequencer)) and leader-aware proxies; long-term mitigations include increased timeouts, HA sharding and moving to dynamic sharding or databases instead.

AI-written summary · about

  1. 0:00Leader election dangers
  2. 1:01What is leader election
  3. 5:13Why leader election isn't enough
  4. 10:03Fencing in distributed systems
  5. 15:20Outage from fencing flaws
  6. 19:33Operational challenges
  7. 24:22Alternatives for state management
  8. 27:55Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.