Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f0039f2

Browse files
authored
Fix link in markdown, 2
1 parent fac1e9f commit f0039f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/mmts/doc/architecture.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To be able to deal with crashes E3PC commit protocol was used [1][2]. Main idea
1515

1616
This process summarized on following diagram:
1717

18-
![](mmts_commit.svg?raw=true)
18+
![](https://cdn.rawgit.com/postgrespro/postgres_cluster/fac1e9fa/contrib/mmts/doc/mmts_commit.svg)
1919

2020
Here user, connected to a backend (BE) decides to commit his transaction. Multi-master extension hooks that commit and changes it to a PREPARE statement. During transaction execution walsender process (WS) already started to decode transaction to "reorder buffer", and by the time when PREPARE statement happend WS starting sending our transaction to all neighbouring nodes (cohort). Then cohort nodes applies that transaction in walreceiver process (WR) and, after succes, signaling arbbiter process (Arb on diagram, custom background worker implemented in multimaster) to send vote for transaction (prepared) on initiating node.
2121
Arbiter process on initiating node wait until all nodes from cohort will send vote for transaction; after that he send "precommit" messages and waits till all nodes will respond to that with "precommited" message.

0 commit comments

Comments
 (0)