All challenges
Code AnalysisHard 60s

Split-brain from naive failover

Given a partition between the two nodes, what failure can this produce?
Starter code
nodeA: if not heard_from(leader) in 5s: become_leader()
nodeB: if not heard_from(leader) in 5s: become_leader()

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle