summaryrefslogtreecommitdiff
path: root/src/include/connection.h
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2015-02-17 21:56:34 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2015-02-17 21:56:34 +1100
commitc34a56f357e21d134a2d9d0fefc032544069d8d7 (patch)
treed60b5ee0ad538795a25c5d4220813bc19e52f4ea /src/include/connection.h
parenta9de0f7ac8ad373d7aef6a480c69a2a7e0b55c59 (diff)
downloadmongo-c34a56f357e21d134a2d9d0fefc032544069d8d7.tar.gz
Allow the maximum number of eviction threads to be reconfigured. This was previously permitted by the API, but the array of thread contexts was not correctly resized, leading to segfaults.
refs SERVER-17293
Diffstat (limited to 'src/include/connection.h')
-rw-r--r--src/include/connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/connection.h b/src/include/connection.h
index ff5e401fadd..5e69c93cfce 100644
--- a/src/include/connection.h
+++ b/src/include/connection.h
@@ -290,6 +290,7 @@ struct __wt_connection_impl {
wt_thread_t evict_tid; /* Eviction server thread ID */
int evict_tid_set; /* Eviction server thread ID set */
+ uint32_t evict_workers_alloc;/* Allocated eviction workers */
uint32_t evict_workers_max;/* Max eviction workers */
uint32_t evict_workers_min;/* Min eviction workers */
uint32_t evict_workers; /* Number of eviction workers */