diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2015-05-08 12:18:15 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2015-05-08 12:18:15 +1000 |
commit | d93900e4da05ce100a9b3acf9a931415491ed31c (patch) | |
tree | 3ba1bfab00940511a9d64b416d63ff3e0da98589 /src/lsm/lsm_work_unit.c | |
parent | 1f2e107d4801e656e190f0a544ff072a1f344ae6 (diff) | |
download | mongo-d93900e4da05ce100a9b3acf9a931415491ed31c.tar.gz |
Add a "soft update" of the oldest ID from application threads in case eviction isn't running (e.g., during forced eviction checks).
refs WT-1907
Diffstat (limited to 'src/lsm/lsm_work_unit.c')
-rw-r--r-- | src/lsm/lsm_work_unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lsm/lsm_work_unit.c b/src/lsm/lsm_work_unit.c index 74a52ad7402..1145c329639 100644 --- a/src/lsm/lsm_work_unit.c +++ b/src/lsm/lsm_work_unit.c @@ -281,7 +281,7 @@ __wt_lsm_checkpoint_chunk(WT_SESSION_IMPL *session, } /* Stop if a running transaction needs the chunk. */ - __wt_txn_update_oldest(session); + __wt_txn_update_oldest(session, 1); if (chunk->switch_txn == WT_TXN_NONE || !__wt_txn_visible_all(session, chunk->switch_txn)) { WT_RET(__wt_verbose(session, WT_VERB_LSM, |