diff options
author | David Hows <howsdav@gmail.com> | 2016-11-15 12:17:48 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2016-11-15 12:17:48 +1100 |
commit | e11d885f11fc7c47f1a9160087f738da80567ad2 (patch) | |
tree | e38d422594801c8f22ba20f097c6672e214b3af3 /src | |
parent | 46d66e2840cf6950d3bd012206a0cbc8c3ba4be8 (diff) | |
download | mongo-e11d885f11fc7c47f1a9160087f738da80567ad2.tar.gz |
WT-3015 Change when we will evict internal pages (#3146)
Diffstat (limited to 'src')
-rw-r--r-- | src/evict/evict_lru.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evict/evict_lru.c b/src/evict/evict_lru.c index 909fe813f98..dfa3fae48d9 100644 --- a/src/evict/evict_lru.c +++ b/src/evict/evict_lru.c @@ -1449,7 +1449,7 @@ __evict_walk_file(WT_SESSION_IMPL *session, WT_EVICT_QUEUE *queue, /* Limit internal pages to 50% of the total. */ if (WT_PAGE_IS_INTERNAL(page) && - internal_pages >= (int)(evict - start) / 2) + internal_pages > (int)(evict - start) / 2) continue; /* If eviction gets aggressive, anything else is fair game. */ |