File tree 4 files changed +6
-5
lines changed
deploy_layouts/roles/postgres/tasks
4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ static TransactionManager DtmTM = {
128
128
DtmGetGlobalTransactionId ,
129
129
PgXidInMVCCSnapshot ,
130
130
DtmDetectGlobalDeadLock ,
131
- GtmGetName
131
+ DtmGetName
132
132
};
133
133
134
134
bool MMDoReplication ;
Original file line number Diff line number Diff line change 63
63
shell : ./configure --prefix={{pg_dst}} --enable-debug --without-zlib && make clean && make -j {{makejobs}} && make install
64
64
args :
65
65
chdir : " {{pg_src}}"
66
- creates : " {{pg_dst}}/bin/postgres"
66
+ # creates: "{{pg_dst}}/bin/postgres"
67
67
# when: pg_copydist is undefined
68
68
69
69
# ############################################################################
Original file line number Diff line number Diff line change @@ -147,7 +147,8 @@ void* writer(void* arg)
147
147
for (int i = 0 ; i < cfg.nIterations ; i++)
148
148
{
149
149
// 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()]);
151
152
int srcAcc = random () % cfg.nAccounts ;
152
153
int dstAcc = random () % cfg.nAccounts ;
153
154
try {
Original file line number Diff line number Diff line change 1
1
---
2
2
3
- - hosts : nodes
3
+ - hosts : nodes[-1]
4
4
gather_facts : no
5
5
tasks :
6
6
46
46
- name : run transfers
47
47
shell : >
48
48
~/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 }} |
50
50
tee -a perf.results |
51
51
sed "s/^/`hostname`:/"
52
52
register : transfers_result
You can’t perform that action at this time.
0 commit comments