diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2015-11-27 21:59:40 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2015-11-27 21:59:40 +1100 |
commit | 6c65c86bb9da9925c007ea469ac7cd30e175bbd7 (patch) | |
tree | cc746df946f8eba3cacf4e7cc9aaeac91acd2423 /src/btree/bt_read.c | |
parent | 4aa7ba0d855136af6ff0dbef7f5716604b702af7 (diff) | |
download | mongo-6c65c86bb9da9925c007ea469ac7cd30e175bbd7.tar.gz |
WT-2244 Don't wait for transactions after splits.
Now that we split before pages become completely full, and we can block splits
outright with a flag, don't use transaction visibilty to block subsequent
splits. This had the effect of limiting each page to a single split during
long-running transactions including checkpoints.
Diffstat (limited to 'src/btree/bt_read.c')
-rw-r--r-- | src/btree/bt_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_read.c b/src/btree/bt_read.c index bea6c9cedec..12caf433fd0 100644 --- a/src/btree/bt_read.c +++ b/src/btree/bt_read.c @@ -331,7 +331,7 @@ __evict_force_check(WT_SESSION_IMPL *session, WT_REF *ref) __wt_txn_update_oldest(session, false); /* If eviction cannot succeed, don't try. */ - return (__wt_page_can_evict(session, ref, true, NULL)); + return (__wt_page_can_evict(session, ref, NULL)); } /* |