summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/evict/evict_lru.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/evict/evict_lru.c')
-rw-r--r--src/third_party/wiredtiger/src/evict/evict_lru.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/third_party/wiredtiger/src/evict/evict_lru.c b/src/third_party/wiredtiger/src/evict/evict_lru.c
index b0b29942cb2..58555923e37 100644
--- a/src/third_party/wiredtiger/src/evict/evict_lru.c
+++ b/src/third_party/wiredtiger/src/evict/evict_lru.c
@@ -634,10 +634,6 @@ __evict_update_work(WT_SESSION_IMPL *session)
LF_ISSET(WT_CACHE_EVICT_CLEAN_HARD))
LF_SET(WT_CACHE_EVICT_DIRTY);
- /* When we stop looking for dirty pages, reduce the lookaside score. */
- if (!LF_ISSET(WT_CACHE_EVICT_DIRTY))
- __wt_cache_update_lookaside_score(session, 1, 0);
-
/*
* Scrub dirty pages and keep them in cache if we are less than half
* way to the clean or dirty trigger.
@@ -2100,7 +2096,8 @@ __evict_walk_tree(WT_SESSION_IMPL *session,
!__txn_visible_all_id(session, page->modify->update_txn)))
continue;
-fast: /* If the page can't be evicted, give up. */
+fast:
+ /* If the page can't be evicted, give up. */
if (!__wt_page_can_evict(session, ref, NULL))
continue;