Concept
Leader election
Leader election is how a group of nodes chooses the one node that will take writes and coordinate the rest. When the leader stops responding, the others vote, and a candidate wins only with a majority. Requiring a majority is what prevents two leaders from being chosen at the same time.
Where you'll see it
Related concepts
Sources: Ongaro and Ousterhout: In Search of an Understandable Consensus Algorithm (2014) ↗ · The Raft consensus algorithm (project site) ↗ · Ongaro: Consensus: Bridging Theory and Practice (dissertation, section 9.6 on Pre-Vote) ↗ · Report a problem
The definition is in our own words; the sources are those of the lesson Leader election (Raft).