Skip to content

Commit 95d4c5f

Browse files
committed
add image for 2pc
1 parent 78d10fa commit 95d4c5f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/features/sharding/2pc.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Two-phase commit takes advantage of [prepared transactions](https://www.postgres
77

88
This feature is also known as **2pc** or **2-phase** transactions.
99

10+
<center style="margin-top: 2rem;">
11+
<img src="/images/2pc.png" width="98%" alt="Cross-shard queries" />
12+
</center>
13+
1014
## How it works
1115

1216
When two-phase commit is enabled, PgDog keeps track of all write transactions in its built-in transaction manager.

docs/images/2pc.png

81.6 KB
Loading

0 commit comments

Comments
 (0)