File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ DtmGetNewTransactionId(bool isSubXact)
482
482
483
483
static Snapshot DtmGetSnapshot (Snapshot snapshot )
484
484
{
485
- if (TransactionIdIsValid (DtmNextXid ) && IsMVCCSnapshot (snapshot ) && snapshot != & CatalogSnapshotData ) {
485
+ if (TransactionIdIsValid (DtmNextXid ) /* && IsMVCCSnapshot(snapshot)*/ && snapshot != & CatalogSnapshotData ) {
486
486
if (!DtmHasGlobalSnapshot && (snapshot != DtmLastSnapshot || DtmCurcid != snapshot -> curcid )) {
487
487
DtmGlobalGetSnapshot (DtmNextXid , & DtmSnapshot , & DtmMinXid );
488
488
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
const (
12
12
TRANSFER_CONNECTIONS = 8
13
13
INIT_AMOUNT = 10000
14
- N_ITERATIONS = 10000
14
+ N_ITERATIONS = 100000
15
15
N_ACCOUNTS = TRANSFER_CONNECTIONS //100000
16
16
//ISOLATION_LEVEL = "repeatable read"
17
17
ISOLATION_LEVEL = "read committed"
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ sed -i '' 's/#fsync =.*/fsync = off/' ./install/data2/postgresql.conf
26
26
echo ' dtm.node_id = 0' >> ./install/data1/postgresql.conf
27
27
echo ' dtm.node_id = 1' >> ./install/data2/postgresql.conf
28
28
29
+ echo ' autovacuum = off' >> ./install/data1/postgresql.conf
30
+ echo ' autovacuum = off' >> ./install/data2/postgresql.conf
31
+
29
32
./install/bin/pg_ctl -D ./install/data1 -l ./install/data1/log start
30
33
./install/bin/pg_ctl -D ./install/data2 -l ./install/data2/log start
31
34
You can’t perform that action at this time.
0 commit comments