Skip to content
Discussion options

You must be logged in to vote

Hi @lfq04

  1. Cluster behavior with multiple nodes down

You’re absolutely right: in a 5-node DCS setup, the cluster can tolerate up to 2 nodes failing. This follows the standard RAFT requirement of N/2 + 1 quorum. For more on how this works, I recommend The Secret Lives of Data – Raft.

In worst-case scenarios where only a single node remains:

  • You can temporarily bypass HA by stopping patroni and starting PostgreSQL manually via pg_ctl or pg_ctlcluster. This gives you write access in standalone mode — but keep in mind that this breaks HA and replication guarantees.
  • For a cleaner approach, consider deploying a dedicated etcd cluster (e.g. 5 or 7 VMs) shared across multiple PostgreSQL clust…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lfq04
Comment options

Answer selected by lfq04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants