diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-12-02 12:08:08 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-12-02 12:08:08 +1100 |
commit | fe6e8c5ecea52c8d3c1d23db6a8a0559376267ca (patch) | |
tree | aaf2bc182e280afc9cdf2744c0a15b457de7e5e7 | |
parent | 444110648074381c4341c5b8a3490e4cbc7ea500 (diff) | |
download | mongo-fe6e8c5ecea52c8d3c1d23db6a8a0559376267ca.tar.gz |
Tweak the logic to delay eviction after splits: only check inmem_split_txn for dirty pages.
-rw-r--r-- | src/include/btree.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/btree.i b/src/include/btree.i index 0e0404227e7..464b491c480 100644 --- a/src/include/btree.i +++ b/src/include/btree.i @@ -944,8 +944,8 @@ __wt_page_release(WT_SESSION_IMPL *session, WT_REF *ref, uint32_t flags) page->read_gen != WT_READGEN_OLDEST || F_ISSET(btree, WT_BTREE_NO_EVICTION) || (__wt_page_is_modified(page) && (btree->checkpointing || - !__wt_txn_visible_all(session, page->modify->first_dirty_txn))) || - !__wt_txn_visible_all(session, page->modify->inmem_split_txn)) + !__wt_txn_visible_all(session, page->modify->first_dirty_txn) || + !__wt_txn_visible_all(session, page->modify->inmem_split_txn)))) return (__wt_hazard_clear(session, page)); /* |