Skip to content

Commit

Permalink
Merge pull request #5882 from EnterpriseDB/docs/pgd/fix/quorum-cover-…
Browse files Browse the repository at this point in the history
…locks

Update terminology.mdx quorum
  • Loading branch information
djw-m authored Jul 29, 2024
2 parents 0e9d94c + 02df97e commit e37381a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion product_docs/docs/pgd/5/terminology.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ Traditionally, in PostgreSQL, a number of databases running on a single server i

#### Quorum

When a [Raft](#replicated-available-fault-tolerance-raft) [consensus](#consensus) is needed by a PGD cluster, a minimum number of voting nodes participating in the vote are needed. This number is called a quorum. For example, with a 5-node cluster, the quorum is 3 nodes in the cluster voting. A consensus is 5/2+1 nodes, 3 nodes voting the same way. If there are only 2 voting nodes, then a consensus is never established.
A quorum is the minimum number of voting nodes needed to participate in a distributed vote. It ensures that the decision made has validity. For example,
when a [Raft](#replicated-available-fault-tolerance-raft) [consensus](#consensus) is needed by a PGD cluster, a minimum number of voting nodes participating in the vote are needed. With a 5-node cluster, the quorum is 3 nodes in the cluster voting. A consensus is 5/2+1 nodes, 3 nodes voting the same way. If there are only 2 voting nodes, then a consensus is never established. Quorums are required in PGD for [global locks](ddl/ddl-locking/) and Raft decisions.

#### Replicated available fault tolerance (Raft)

Expand Down

1 comment on commit e37381a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.