CockroachDB Raft Consensus and Leaseholders
Dive into the mechanics of the Raft consensus protocol as applied to CockroachDB ranges, including leaseholder election and distributed coordination.
Sample Questions
What is the primary consensus algorithm used by CockroachDB for data replication?
- Paxos
- Raft
- Zab
- Two-Phase Commit
In CockroachDB, what is the fundamental unit of data replication and distribution?
- Table
- Database
- Range
- Cluster
What is the main responsibility of a Leaseholder in CockroachDB?
- Storing backups
- Serving all reads and writes for a Range
- Managing node heartbeats
- Compressing the Raft log