diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2017-04-13 00:59:39 -0400 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2017-04-13 14:59:39 +1000 |
commit | 787c625446989be6745e069d7b427f2370d2ddda (patch) | |
tree | 28a494fba54fda654b10eff0598ad44a3618f9f9 /src/btree/bt_read.c | |
parent | 45759b71aacc73b71cd8741fc5c46f34a5332f7e (diff) | |
download | mongo-787c625446989be6745e069d7b427f2370d2ddda.tar.gz |
WT-3261 add a checkpoint epoch to avoid draining the eviction queue (#3370)
Diffstat (limited to 'src/btree/bt_read.c')
-rw-r--r-- | src/btree/bt_read.c | 7 |
1 files changed, 1 insertions, 6 deletions
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; /* |