The Runtime Theory
hardSystemArchitecture#consensus#replicated-log

What Does a Quorum Commit Guarantee?

A distributed-systems prompt about majority replication, protocol safety, leader changes, and availability without a quorum.

TRT practice prompt — not a verified question from a named employer.

The Runtime Theory Team1 min read

A strong answer

In a Raft cluster, a leader commits entries under protocol rules that include replication to a majority and term-related constraints. Any two majorities overlap, which helps a later leader discover and preserve committed history. The safety claim depends on Raft's election and log-matching rules; “three copies exist” alone is not a complete proof.

A quorum is also an availability threshold. A three-node cluster can continue committing with two reachable members, but not with only one. During a partition, the majority side can make progress while the minority cannot safely commit new entries. This is the safety and availability trade-off under that failure model, not a statement that all requests always return quickly.

A client timeout still leaves uncertainty about whether its command committed or whether only the reply was lost. The application may need an operation identifier to make retry behavior safe.

Follow-up direction

Draw two competing partitions and explain which can elect a leader, then distinguish replicated from committed and committed from applied.

This answer walks

Practice follow-ups

  1. 01Can a cluster commit when it is split into two equal groups?
  2. 02Why are term and log-matching rules needed in addition to a majority?
  3. 03What can a client infer after a timeout?

One dispatch a week

The trace behind each question, the tradeoff that explains it, and one technical dispatch per week — no noise.

One technical dispatch per week. No noise.

Not started

Sign in to save your learning progress.

Sign in to save