summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2012-12-21 19:39:25 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2012-12-21 19:39:25 +1100
commit00a519a07e62cf544036de3dbb809fba09099dbe (patch)
tree51f6eeb1d792100dd3daeb8a4f6f8c166c725710
parent76ef021cea118bbdd10156029613948c78ea8452 (diff)
downloadmongo-00a519a07e62cf544036de3dbb809fba09099dbe.tar.gz
Never force internal pages to be evicted.
-rw-r--r--src/include/cache.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/cache.i b/src/include/cache.i
index c54dd998783..348fa7285ae 100644
--- a/src/include/cache.i
+++ b/src/include/cache.i
@@ -53,6 +53,7 @@ __wt_eviction_page_force(WT_BTREE *btree, WT_PAGE *page)
* if the btree is using 16KB pages.
*/
return (!WT_PAGE_IS_ROOT(page) && __wt_page_is_modified(page) &&
+ page->type != WT_PAGE_ROW_INT && page->type != WT_PAGE_COL_INT &&
(page->memory_footprint > 60 * btree->maxleafpage));
}