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

Commit b147076

Browse files
kvapkelvich
authored andcommitted
Add the required 'multimaster.max_nodes' config parameter to the test prepare procedure.
1 parent b5ac7d9 commit b147076

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Cluster.pm

+1
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
));

README.md

+1-1
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.

tests2/docker-entrypoint.sh

+1
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)