Glossary — in plain language

etcd (distributed consensus store)

Also called: DCS, distributed configuration store, Raft key-value store

In plain English

etcd is a small, strongly-consistent key-value store that uses the Raft consensus algorithm to agree on data across an odd number of nodes (3 or 5). A write only succeeds if a majority (quorum) of nodes agree. In a Patroni cluster it is the “source of truth” (the DCS) that holds the leader key and member state.

Why it matters

Because a value can only be written with quorum, a PostgreSQL node partitioned from the etcd majority cannot claim leadership and demotes itself. This consensus property is what makes split-brain prevention provable rather than best-effort.

Was this helpful?

← Browse the full glossary