You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Directort contrib/mmts also includes Dockerfile that is capable of building multi-master and starting 3 node cluster.
105
+
106
+
```sh
107
+
cd contrib/mmts
108
+
docker-compose build
109
+
docker-compose up
110
+
```
111
+
112
+
### PgPro packages
113
+
114
+
After things go more stable we will release prebuilt packages for major platforms.
115
+
116
+
117
+
118
+
## Configuration
119
+
8
120
1. Add these required options to the `postgresql.conf` of each instance in the cluster.
9
121
10
122
```sh
@@ -40,7 +152,9 @@ An implementation of synchronous **multi-master replication** based on **commit
40
152
```
41
153
1. Allow replication in `pg_hba.conf`.
42
154
43
-
## Status functions
155
+
(link to full doc on config params)
156
+
157
+
## Management
44
158
45
159
`create extension mmts;` to gain access to these functions:
46
160
@@ -49,7 +163,35 @@ An implementation of synchronous **multi-master replication** based on **commit
49
163
*`mtm.get_cluster_info()` -- print some debug info
50
164
*`mtm.make_table_local(relation regclass)` -- stop replication for a given table
51
165
52
-
## Testing
166
+
(link to full doc on functions)
167
+
168
+
53
169
170
+
171
+
## Tests
172
+
173
+
### Performance
174
+
175
+
(Show TPC-C here on 3 nodes)
176
+
177
+
### Fault tolerance
178
+
179
+
(Link to test/failure matrix)
180
+
181
+
### Postgres compatibility
182
+
183
+
Regression: 141 of 164
184
+
Isolation: n/a
185
+
186
+
To run tests:
54
187
*`make -C contrib/mmts check` to run TAP-tests.
55
188
*`make -C contrib/mmts xcheck` to run blockade tests. The blockade tests require `docker`, `blockade`, and some other packages installed, see [requirements.txt](tests2/requirements.txt) for the list. You might also want to gain superuser privileges to run these tests successfully.
0 commit comments