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

Commit d50a7ec

Browse files
knizhnikkelvich
authored andcommitted
Use raftable by default
1 parent eecbf9b commit d50a7ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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(

multimaster.c

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

0 commit comments

Comments
 (0)