summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2017-01-04 11:03:38 -0500
committerGitHub <noreply@github.com>2017-01-04 11:03:38 -0500
commit0f8cb7b38a85e1afe6c91d49222b8baab4525ad0 (patch)
treeaf8ff2b8939306d39463a8c2d69b7667c370b75b
parent3a211a245a3b9198fdc0618bd0e2d3d97ff8171c (diff)
downloadmongo-0f8cb7b38a85e1afe6c91d49222b8baab4525ad0.tar.gz
WT-2898 Improve performance of eviction-heavy workloads by dynamically controlling the number of eviction threads
lint fix
-rw-r--r--src/evict/evict_lru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evict/evict_lru.c b/src/evict/evict_lru.c
index a03c1f16dec..08cafcf32ed 100644
--- a/src/evict/evict_lru.c
+++ b/src/evict/evict_lru.c
@@ -559,7 +559,7 @@ __evict_pass(WT_SESSION_IMPL *session)
prev = now;
if (conn->evict_threads.threads[0]->session == session)
- __evict_tune_workers(session);
+ WT_RET(__evict_tune_workers(session));
/*
* Increment the shared read generation. Do this occasionally
* even if eviction is not currently required, so that pages