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

Commit 0395d7b

Browse files
committed
Use raftable by default
1 parent d4e6d89 commit 0395d7b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contrib/mmts/Cluster.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ sub configure
9999
multimaster.queue_size = 10485760 # 10mb
100100
multimaster.node_id = $id
101101
multimaster.conn_strings = '$connstr'
102-
multimaster.use_raftable = false
102+
multimaster.use_raftable = true
103103
multimaster.ignore_tables_without_pk = true
104104
multimaster.twopc_min_timeout = 60000
105-
# raftable.id = $id
106-
# raftable.peers = '$raftpeers'
105+
raftable.id = $id
106+
raftable.peers = '$raftpeers'
107107
));
108108

109109
$node->append_conf("pg_hba.conf", qq(

contrib/mmts/multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ _PG_init(void)
19071907
"Use raftable plugin for internode communication",
19081908
NULL,
19091909
&MtmUseRaftable,
1910-
false,
1910+
true,
19111911
PGC_BACKEND,
19121912
0,
19131913
NULL,

0 commit comments

Comments
 (0)