summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2015-12-02 12:35:06 +1100
committerAlex Gorrod <alexander.gorrod@mongodb.com>2015-12-02 12:35:06 +1100
commit4fc3e3982eb92273d68a70ad3a09a7f6ad27364f (patch)
treeff174935df1434960d99b46152fc790f865baff1
parente731ef8ab8b8f9d1c65380c83fc3e7b318f3fbe8 (diff)
parent7a1050dbddf01bd73dcc98ca7cfa92287a11423b (diff)
downloadmongo-4fc3e3982eb92273d68a70ad3a09a7f6ad27364f.tar.gz
Merge pull request #2353 from wiredtiger/WT-2553-evict-split-pages
WT-2553 Evict pages left behind by in-memory splits.
-rw-r--r--src/evict/evict_lru.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evict/evict_lru.c b/src/evict/evict_lru.c
index f2784890ab7..4ec59853b7e 100644
--- a/src/evict/evict_lru.c
+++ b/src/evict/evict_lru.c
@@ -1247,6 +1247,7 @@ __evict_walk_file(WT_SESSION_IMPL *session, u_int *slotp)
* eviction, skip anything that isn't marked.
*/
if (FLD_ISSET(cache->state, WT_EVICT_PASS_WOULD_BLOCK) &&
+ page->memory_footprint < btree->splitmempage &&
page->read_gen != WT_READGEN_OLDEST)
continue;