File tree 4 files changed +0
-8
lines changed
4 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,6 @@ sub configure
105
105
multimaster.heartbeat_send_timeout = 250
106
106
multimaster.ignore_tables_without_pk = true
107
107
multimaster.twopc_min_timeout = 2000
108
- raftable.id = $id
109
- raftable.peers = '$raftpeers '
110
108
) );
111
109
112
110
$node -> append_conf(" pg_hba.conf" , qq(
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ cat >> "$PGDATA/postgresql.conf" <<-EOF
36
36
multimaster.conn_strings = '$CONNS '
37
37
multimaster.use_raftable = true
38
38
multimaster.ignore_tables_without_pk = true
39
- raftable.id = $NODEID
40
- raftable.peers = '$PEERS '
41
39
EOF
42
40
43
41
" $@ "
Original file line number Diff line number Diff line change 36
36
sed " s/5432/$port /g" < postgresql.conf.mm > node$i /postgresql.conf
37
37
echo " multimaster.conn_strings = '$conn_str '" >> node$i /postgresql.conf
38
38
echo " multimaster.node_id = $i " >> node$i /postgresql.conf
39
- echo " raftable.id = $i " >> node$i /postgresql.conf
40
- echo " raftable.peers = '$raft_conn_str '" >> node$i /postgresql.conf
41
39
42
40
cp pg_hba.conf node$i
43
41
pg_ctl -w -D node$i -l node$i .log start
Original file line number Diff line number Diff line change 132
132
- " log_autovacuum_min_duration = 0"
133
133
- " shared_preload_libraries = 'raftable,multimaster'"
134
134
- " default_transaction_isolation = 'repeatable read'"
135
- - " raftable.id = {{ node_id }}"
136
- - " raftable.peers = '{{ raft_connstr }}'"
137
135
- " multimaster.workers = 20"
138
136
- " multimaster.arbiter_port = {{ 7777 }}"
139
137
- " multimaster.use_raftable = true"
You can’t perform that action at this time.
0 commit comments