diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2016-12-15 00:01:12 -0500 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2016-12-15 16:01:12 +1100 |
commit | 18fb0f8da42f5e6045e296b81d86370bf60376f5 (patch) | |
tree | ecc32e074229a3dbde2a8b32f79c1a86a60d02d8 /dist/api_data.py | |
parent | a026912444c9714011acfec0ca40722e3b55e2a1 (diff) | |
download | mongo-18fb0f8da42f5e6045e296b81d86370bf60376f5.tar.gz |
SERVER-26545 Remove fixed-size limitation on WiredTiger hazard pointers (#3187)
* Default to an initial 250 hazard slots and grow from there.
* Make hazard_max undocumented, add an internal limit of 1000 eviction walks.
* If we grow the hazard pointer array, schedule the original to be freed when the database is closed.
* Update test_bug011 back to stress eviction with the hard-coded limit of 1000 active trees. Only run during "long" tests.
Diffstat (limited to 'dist/api_data.py')
-rw-r--r-- | dist/api_data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/api_data.py b/dist/api_data.py index 2b7ef4a94e1..acbbf0f2a68 100644 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -727,7 +727,7 @@ wiredtiger_open_common =\ Config('hazard_max', '1000', r''' maximum number of simultaneous hazard pointers per session handle''', - min='15'), + min=15, undoc=True), Config('mmap', 'true', r''' Use memory mapping to access files when possible''', type='boolean'), |