1
1
n_nodes=3
2
- export PATH=~ /code/postgres_cluster/install /bin/:$PATH
2
+ export PATH=~ /code/postgres_cluster/tmp_install /bin/:$PATH
3
3
ulimit -c unlimited
4
4
pkill -9 postgres
5
5
pkill -9 arbiter
19
19
port=$(( 5431 + i))
20
20
raft_port=$(( 6665 + i))
21
21
arbiter_port=$(( 7000 + i))
22
- conn_str=" $conn_str ${sep} dbname=regression user=stas host=127.0.0.1 port=$port arbiterport =$arbiter_port sslmode=disable"
22
+ conn_str=" $conn_str ${sep} dbname=regression user=stas host=127.0.0.1 port=$port arbiter_port =$arbiter_port sslmode=disable"
23
23
raft_conn_str=" $raft_conn_str ${sep}${i} :localhost:$raft_port "
24
24
sep=" ,"
25
25
initdb node$i
46
46
max_worker_processes = 15
47
47
max_replication_slots = 10
48
48
max_wal_senders = 10
49
- shared_preload_libraries = 'raftable, multimaster'
49
+ shared_preload_libraries = 'multimaster'
50
50
default_transaction_isolation = 'repeatable read'
51
51
52
52
multimaster.workers = 1
70
70
done
71
71
72
72
sleep 10
73
- psql regression< ../../../ regress.sql
73
+ psql regression< regress.sql
74
74
75
75
echo Done