Skip to content

Commit ecac018

Browse files
committed
Add the required 'multimaster.max_nodes' config parameter to the test prepare procedure.
1 parent 47fe052 commit ecac018

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

contrib/mmts/Cluster.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ sub configure
104104
multimaster.use_raftable = true
105105
multimaster.heartbeat_recv_timeout = 1000
106106
multimaster.heartbeat_send_timeout = 250
107+
multimaster.max_nodes = 3
107108
multimaster.ignore_tables_without_pk = true
108109
multimaster.twopc_min_timeout = 2000
109110
));

contrib/mmts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ An implementation of synchronous **multi-master replication** based on **commit
5252
## Testing
5353

5454
* `make -C contrib/mmts check` to run TAP-tests.
55-
* `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.
55+
* `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.

contrib/mmts/tests2/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ if [ "$1" = 'postgres' ]; then
8181
log_autovacuum_min_duration = 0
8282
8383
multimaster.workers = 4
84+
multimaster.max_nodes = 3
8485
multimaster.use_raftable = true
8586
multimaster.queue_size=52857600
8687
multimaster.ignore_tables_without_pk = 1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy