diff options
author | Michael Cahill <michael.cahill@mongodb.com> | 2015-10-30 21:42:50 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2015-10-30 21:42:50 +1100 |
commit | 9acac1f961ad095e2988d9e44b2e2f9f05ad4b87 (patch) | |
tree | aefb35b786d2864bf0bd28c9c7c105a0fa681b80 | |
parent | 0ca615c0dc3c7ce331cc673edb21648faaa4d5cb (diff) | |
download | mongo-9acac1f961ad095e2988d9e44b2e2f9f05ad4b87.tar.gz |
WT-2178 It's okay to evict clean page from in-memory databases in order to drop a tree.
-rw-r--r-- | src/evict/evict_page.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evict/evict_page.c b/src/evict/evict_page.c index 7f580edad5a..4c0b2bff0bf 100644 --- a/src/evict/evict_page.c +++ b/src/evict/evict_page.c @@ -385,7 +385,7 @@ __evict_review( * Clean pages can't be evicted when running in memory only. This * should be uncommon - we don't add clean pages to the queue. */ - if (F_ISSET(S2C(session), WT_CONN_IN_MEMORY) && !modified) + if (F_ISSET(S2C(session), WT_CONN_IN_MEMORY) && !modified && !closing) return (EBUSY); /* |