Relaxed reads, coming in OpenRaft 0.10.1, let a linearizable read on the leader wait only for the leader’s no-op to be applied, not for apply to catch up with commit. With 500 µs added to each apply batch, p50 read latency fell from 1.2–2.0 ms to 0.92–0.96 ms; when apply fell behind commit, from 2.3 s to 1.2 ms.
OpenRaft lets applications define election read quorums and append entries write quorums by replica count, node weight, or site layout. A cluster of 4 nodes can use a read quorum of 3 and a write quorum of 2. Across 3 sites, 9 nodes can commit after 4 replication confirmations.
OpenRaft now skips joint consensus when every old quorum intersects every new quorum. A linear-time test identifies exactly when this is safe for majority-based configurations. It covers Raft’s familiar one-node-at-a-time changes and a few additional cases, while retaining joint consensus for changes that need it.
Standard joint consensus provides its own log barrier through config entries. Single-step changes and joint consensus extended with rollback require a committed current-term entry before a new config. Two failure scenarios show why the difference comes down to quorum overlap.
A Raft leader usually waits for a majority before committing a write. We can reduce that wait, but the election rules and leader identities must still protect the log. Through a few small clusters, we explore two ways to do this, then follow the consequences for reads, failures, and membership changes.
Raft’s single-server membership change carries two problems: its middle state can turn one datacenter into a single point of failure, and the original algorithm could lose a committed entry. Let us look at membership change through quorum sets, and see why joint consensus is the answer.