Job Scheduler: Duplicate Run Under Leader Flap — System Design Incident Practice | IncidentRank
Senior · Deployments & Reliability
Job Scheduler: Duplicate Run Under Leader Flap
A flapping leader election duplicates in-flight job runs with no fencing token on the handoff, and tuning election timing looks like progress without closing the actual race.
Skills
Diagnosing a correctness problem versus an availability problem
Reasoning about fencing tokens and lease epochs in a handoff race
Distinguishing flap-frequency mitigations from a genuine fix to the handoff itself
Recognizing when a mitigation improves one metric while worsening the actual root cause