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

Commit dcee1a8

Browse files
committed
reinit-mm.sh for arbitrary linked psql
1 parent ec735a5 commit dcee1a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/reinit-mm.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ USER=`whoami`
33
BASEDIR=$CURPATH/../../..
44
export PATH=$BASEDIR/tmp_install/usr/local/pgsql/bin/:$PATH
55
export DESTDIR=$BASEDIR/tmp_install
6+
export PGHOST=127.0.0.1
7+
export LD_LIBRARY_PATH=$BASEDIR/tmp_install/usr/local/pgsql/lib/:$LD_LIBRARY_PATH
68

7-
n_nodes=2
9+
n_nodes=3
810
ulimit -c unlimited
911
pkill -9 postgres
1012

@@ -75,6 +77,7 @@ do
7577
multimaster.arbiter_port = $arbiter_port
7678
multimaster.max_recovery_lag = 30GB
7779
multimaster.referee_connstring = 'dbname=$USER host=127.0.0.1 port=5440 sslmode=disable'
80+
#multimaster.preserve_commit_order=false
7881
SQL
7982
cp pg_hba.conf tmp_check/node$i
8083
pg_ctl -w -D tmp_check/node$i -l node$i.log start

0 commit comments

Comments
 (0)