Skip to content

Commit c7d2d41

Browse files
committed
GtmGetName -> DtmGetName
1 parent 276ae57 commit c7d2d41

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

contrib/multimaster/multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static TransactionManager DtmTM = {
128128
DtmGetGlobalTransactionId,
129129
PgXidInMVCCSnapshot,
130130
DtmDetectGlobalDeadLock,
131-
GtmGetName
131+
DtmGetName
132132
};
133133

134134
bool MMDoReplication;

contrib/multimaster/tests/deploy_layouts/roles/postgres/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
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
#############################################################################

contrib/multimaster/tests/dtmbench.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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 {

contrib/multimaster/tests/perf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
- hosts: nodes
3+
- hosts: nodes[-1]
44
gather_facts: no
55
tasks:
66

@@ -46,7 +46,7 @@
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

0 commit comments

Comments
 (0)