diff options
author | Hari Babu Kommi <haribabu.kommi@mongodb.com> | 2023-05-08 13:41:48 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-05-08 04:19:27 +0000 |
commit | 941c246c7c530996add036eb72501a1185dae712 (patch) | |
tree | 6b16b628ef90018d279ed1c3d59854e0442de946 /src/third_party | |
parent | 43b87324302209cbfa240d6c6b520007669e4ea6 (diff) | |
download | mongo-941c246c7c530996add036eb72501a1185dae712.tar.gz |
Import wiredtiger: 16228a3c86f67373a33b911d623876556c7121eb from branch mongodb-master
ref: 10f1ca7f4a..16228a3c86
for: 7.1.0-rc0
WT-11035 Fix out of date comment in test_sweep01.py
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_sweep01.py | 17 |
2 files changed, 9 insertions, 10 deletions
diff --git a/src/third_party/wiredtiger/import.data b/src/third_party/wiredtiger/import.data index 1aa5c6bdcd5..3dc817759e2 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": "10f1ca7f4a0f3213d48e74badd7caee895a9a82c" + "commit": "16228a3c86f67373a33b911d623876556c7121eb" } diff --git a/src/third_party/wiredtiger/test/suite/test_sweep01.py b/src/third_party/wiredtiger/test/suite/test_sweep01.py index c29450d4769..33c7ecff3fc 100644 --- a/src/third_party/wiredtiger/test/suite/test_sweep01.py +++ b/src/third_party/wiredtiger/test/suite/test_sweep01.py @@ -84,24 +84,23 @@ class test_sweep01(wttest.WiredTigerTestCase, suite_subprocess): nfile1 = stat_cursor[stat.conn.file_open][2] stat_cursor.close() - # - # We've configured checkpoints to run every 5 seconds, sweep server to - # run every 2 seconds and idle time to be 6 seconds. It should take - # about 8 seconds for a handle to be closed. Sleep for double to be - # safe. - # uri = '%s.test' % self.uri self.session.create(uri, self.create_params) # - # Keep inserting data to keep at least one handle active and give - # checkpoint something to do. Make sure checkpoint doesn't adjust - # the time of death for inactive handles. + # Keep inserting data to keep one handle active and give checkpoint + # something to do. Make sure checkpoint doesn't adjust the time of + # death for inactive handles. # # Note that we do checkpoints inline because that has the side effect # of sweeping the session cache, which will allow handles to be # removed. # + # We've configured the sweep server to run every second and the idle time + # to be 3 seconds. It should take about 4 seconds for a handle to be closed. + # Run a reasonable amount longer that this monitoring the statistics for + # open and removed files to track progress. + # c = self.session.open_cursor(uri, None) k = 0 sleep = 0 |