From 787c625446989be6745e069d7b427f2370d2ddda Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Thu, 13 Apr 2017 00:59:39 -0400 Subject: WT-3261 add a checkpoint epoch to avoid draining the eviction queue (#3370) --- src/btree/bt_read.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/btree/bt_read.c') diff --git a/src/btree/bt_read.c b/src/btree/bt_read.c index fb69afb166c..72a69e8591c 100644 --- a/src/btree/bt_read.c +++ b/src/btree/bt_read.c @@ -585,15 +585,10 @@ __wt_page_in_func(WT_SESSION_IMPL *session, WT_REF *ref, uint32_t flags * if the page qualifies for forced eviction and update * the page's generation number. If eviction isn't being * done on this file, we're done. - * In-memory split of large pages is allowed while - * no_eviction is set on btree, whereas reconciliation - * is not allowed. */ if (LF_ISSET(WT_READ_NO_EVICT) || F_ISSET(session, WT_SESSION_NO_EVICTION) || - btree->lsm_primary || - (btree->evict_disabled > 0 && - !F_ISSET(btree, WT_BTREE_ALLOW_SPLITS))) + btree->evict_disabled > 0 || btree->lsm_primary) goto skip_evict; /* -- cgit v1.2.1