Skip to content

Commit

Permalink
Update product_docs/docs/pgd/5/terminology.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Lenz Grimmer <[email protected]>
  • Loading branch information
djw-m and Lenz Grimmer committed Oct 6, 2023
1 parent c662bcf commit 72399bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product_docs/docs/pgd/5/terminology.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ A PGD cluster is based around bidirectional replication, but in some use cases s

#### Two-phase commit (2PC)

A multi-step process for achieving consistency across multiple database nodes. A first phase sees a transaction prepared on an originating node and sent to all participating nodes. Each participating node validates that it can apply the transaction and
A multi-step process for achieving consistency across multiple database nodes. The first phase sees a transaction prepared on an originating node and sent to all participating nodes. Each participating node validates that it can apply the transaction and
signals its readiness to the originating node. This is the pre-commit or prepare phase. In the second phase, if all the participating nodes signal they are ready, the originating node proceeds to commit the transaction and signals the participating nodes to commit, too. This is the commit phase. If, in the pre-commit phase, any node signals it is not ready, the entire transaction is aborted. It's this process that ensures all nodes get the same changes.

#### Vertical scaling or scale up
Expand Down

1 comment on commit 72399bb

@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.