File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
deploy_layouts/roles/postgres/tasks Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ static TransactionManager DtmTM = {
128128 DtmGetGlobalTransactionId ,
129129 PgXidInMVCCSnapshot ,
130130 DtmDetectGlobalDeadLock ,
131- GtmGetName
131+ DtmGetName
132132};
133133
134134bool MMDoReplication ;
Original file line number Diff line number Diff line change 6363 shell : ./configure --prefix={{pg_dst}} --enable-debug --without-zlib && make clean && make -j {{makejobs}} && make install
6464 args :
6565 chdir : " {{pg_src}}"
66- creates : " {{pg_dst}}/bin/postgres"
66+ # creates: "{{pg_dst}}/bin/postgres"
6767 # when: pg_copydist is undefined
6868
6969# ############################################################################
Original file line number Diff line number Diff line change @@ -147,7 +147,8 @@ void* writer(void* arg)
147147 for (int i = 0 ; i < cfg.nIterations ; i++)
148148 {
149149 // work
150- transaction<repeatable_read> txn (*conns[random () % conns.size ()]);
150+ transaction<repeatable_read> txn (*conns[random () % conns.size ()]);
151+ // transaction<read_committed> txn(*conns[random() % conns.size()]);
151152 int srcAcc = random () % cfg.nAccounts ;
152153 int dstAcc = random () % cfg.nAccounts ;
153154 try {
Original file line number Diff line number Diff line change 11---
22
3- - hosts : nodes
3+ - hosts : nodes[-1]
44 gather_facts : no
55 tasks :
66
4646 - name : run transfers
4747 shell : >
4848 ~/pg_cluster/install/bin/dtmbench {{connections}}
49- -w {{ nconns }} -r 0 -n 100000 -a 500000 -p {{ up }} |
49+ -w {{ nconns }} -r 0 -n 5000 -a 500000 -p {{ up }} |
5050 tee -a perf.results |
5151 sed "s/^/`hostname`:/"
5252 register : transfers_result
You can’t perform that action at this time.
0 commit comments