diff options
Diffstat (limited to 'src/third_party')
-rw-r--r-- | src/third_party/wiredtiger/import.data | 2 | ||||
-rw-r--r-- | src/third_party/wiredtiger/test/suite/test_timestamp20.py | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data index 86a5371583a..d9d35bf20c1 100644 --- a/src/third_party/wiredtiger/import.data +++ b/src/third_party/wiredtiger/import.data @@ -2,5 +2,5 @@ "vendor": "wiredtiger", "github": "wiredtiger/wiredtiger.git", "branch": "mongodb-master", - "commit": "069fb7b70440d2b4d8c815105ec0cd3b08cde6cf" + "commit": "2666d037c9ebfc84db2c739dfc10dab0e28b3e02" } diff --git a/src/third_party/wiredtiger/test/suite/test_timestamp20.py b/src/third_party/wiredtiger/test/suite/test_timestamp20.py index 896b1052c0c..e1bfc6d0e0d 100644 --- a/src/third_party/wiredtiger/test/suite/test_timestamp20.py +++ b/src/third_party/wiredtiger/test/suite/test_timestamp20.py @@ -107,7 +107,10 @@ class test_timestamp20(wttest.WiredTigerTestCase): cursor[self.get_key(i)] = value5 self.session.commit_transaction('commit_timestamp=' + self.timestamp_str(40)) + # Run a checkpoint to clean the tree to ensure the pages are evictable + self.session.checkpoint() self.evict(uri) + self.session.begin_transaction('read_timestamp=' + self.timestamp_str(30)) for i in range(1, 10000): self.assertEqual(cursor[self.get_key(i)], value4) @@ -182,7 +185,10 @@ class test_timestamp20(wttest.WiredTigerTestCase): cursor[self.get_key(i)] = value3 self.session.commit_transaction('commit_timestamp=' + self.timestamp_str(50)) + # Run a checkpoint to clean the tree to ensure the pages are evictable + self.session.checkpoint() self.evict(uri) + # Open up a new transaction and read at 30. # We shouldn't be able to see past no timestamp due to txnid visibility. self.session.begin_transaction('read_timestamp=' + self.timestamp_str(30)) |