summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2015-12-02 12:35:06 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2016-01-11 06:53:09 +1100
commit77721b97ec3de2582203929c5054d0d6f9a3e425 (patch)
tree51ccd6d75f7f63a6bc6b84a94702135662de333a
parenta1ddc5e6164ef982dc29dd658d391abff06a7484 (diff)
downloadmongo-77721b97ec3de2582203929c5054d0d6f9a3e425.tar.gz
Merge pull request #2353 from wiredtiger/WT-2553-evict-split-pages
(cherry picked from commit 4fc3e39) WT-2553 Backport to 3.0. 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 eec7c3d2f0d..ea34ab88573 100644
--- a/src/evict/evict_lru.c
+++ b/src/evict/evict_lru.c
@@ -1221,6 +1221,7 @@ __evict_walk_file(WT_SESSION_IMPL *session, u_int *slotp, uint32_t flags)
* eviction, skip anything that isn't marked.
*/
if (LF_ISSET(WT_EVICT_PASS_WOULD_BLOCK) &&
+ page->memory_footprint < btree->splitmempage &&
page->read_gen != WT_READGEN_OLDEST)
continue;