diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-07-22 09:04:58 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-07-22 09:04:58 -0400 |
commit | 4a5b5ebf211daa18688edc6e9f913e8789c3ebc0 (patch) | |
tree | 22d5c14e17475f5f46b8cbe2b64058d73bd23ee8 /src/lsm/lsm_work_unit.c | |
parent | a7548d5af22304ec0b65d02787db986df3165c6b (diff) | |
download | mongo-4a5b5ebf211daa18688edc6e9f913e8789c3ebc0.tar.gz |
Cherry-pick Michael's commit a2d0e2d: Disable all eviction (including
forced eviction) during LAS operations.
Diffstat (limited to 'src/lsm/lsm_work_unit.c')
-rw-r--r-- | src/lsm/lsm_work_unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lsm/lsm_work_unit.c b/src/lsm/lsm_work_unit.c index fd4ed64fdb8..a6e09d3478e 100644 --- a/src/lsm/lsm_work_unit.c +++ b/src/lsm/lsm_work_unit.c @@ -414,7 +414,7 @@ __lsm_bloom_create(WT_SESSION_IMPL *session, * ourselves to get stuck creating bloom filters, the entire tree * can stall since there may be no worker threads available to flush. */ - F_SET(session, WT_SESSION_NO_CACHE | WT_SESSION_NO_CACHE_CHECK); + F_SET(session, WT_SESSION_NO_CACHE | WT_SESSION_NO_EVICTION); for (insert_count = 0; (ret = src->next(src)) == 0; insert_count++) { WT_ERR(src->get_key(src, &key)); WT_ERR(__wt_bloom_insert(bloom, &key)); @@ -448,7 +448,7 @@ __lsm_bloom_create(WT_SESSION_IMPL *session, err: if (bloom != NULL) WT_TRET(__wt_bloom_close(bloom)); - F_CLR(session, WT_SESSION_NO_CACHE | WT_SESSION_NO_CACHE_CHECK); + F_CLR(session, WT_SESSION_NO_CACHE | WT_SESSION_NO_EVICTION); return (ret); } |