Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7d2d41

Browse files
committed
GtmGetName -> DtmGetName
1 parent276ae57 commitc7d2d41

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
boolMMDoReplication;

‎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 -n100000 -a 500000 -p {{ up }} |
49+
-w {{ nconns }} -r 0 -n5000 -a 500000 -p {{ up }} |
5050
tee -a perf.results |
5151
sed "s/^/`hostname`:/"
5252
register:transfers_result

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp