Skip to content

Commit b9bbb09

Browse files
committed
Use repeatable read isolation level
1 parent 6135f68 commit b9bbb09

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

contrib/mmts/tests2/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ if [ "$1" = 'postgres' ]; then
7373
max_replication_slots = 10
7474
max_wal_senders = 10
7575
shared_preload_libraries = 'raftable,multimaster'
76+
default_transaction_isolation = 'repeatable read'
7677
7778
raftable.id = $NODE_ID
7879
raftable.peers = '$RAFT_PEERS'

contrib/mmts/tests2/lib/event_history.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__ import print_function
12
import time
23
import datetime
34
import uuid
@@ -96,7 +97,7 @@ def aggregate(self):
9697
if named_agg['running_latency'] < latency:
9798
named_agg['running_latency'] = latency
9899

99-
self.last_aggregation = datetime.datetime.now()
100+
#self.last_aggregation = last_aggregation
100101
#print("aggregeted!")
101102
return agg
102103

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy