-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Engines
Background
The current desc of how session slots are reserved for eviction and lsm workers can mislead users, this should be changed to the correct ones.
Suggested change
diff --git a/dist/api_data.py b/dist/api_data.py index 42cb610c5..831435168 100755 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -641,7 +641,7 @@ connection_runtime_config = [ Config('threads_max', '8', r''' maximum number of threads WiredTiger will start to help evict pages from cache. The number of threads started will vary depending on the current eviction load. Each - eviction worker thread uses a session from the configured session_max''', + eviction worker thread uses a session from the configured WT_LSM_MAX_WORKERS''', min=1, max=20), Config('threads_min', '1', r''' minimum number of threads WiredTiger will start to help evict pages from @@ -791,7 +791,7 @@ connection_runtime_config = [ type='category', subconfig=[ Config('worker_thread_max', '4', r''' Configure a set of threads to manage merging LSM trees in the database. Each worker - thread uses a session handle from the configured session_max''', + thread uses a session handle from the configured WT_LSM_MAX_WORKERS''', min='3', # !!! Must match WT_LSM_MIN_WORKERS max='20'), # !!! Must match WT_LSM_MAX_WORKERS Config('merge', 'true', r'''
- depends on
-
WT-13806 Incorrect calculation for number of reserved session slots
- Needs Scheduling