summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-03-01 14:57:12 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-03-01 14:57:12 +1100
commit6b59b6feb66135123ea55f62e5ba0f7ecf4d3322 (patch)
treea8bb042f2bedc6a4b052c5cf51bd65882655657c
parent180f1a59ec0e025c13202185ece0847133a78687 (diff)
downloadmongo-6b59b6feb66135123ea55f62e5ba0f7ecf4d3322.tar.gz
Remove the assertion that every chunk being merged has a Bloom filter: under load, creating a Bloom filter can fail and retry, so we can't guarantee that all Bloom filters are created in order without more effort.
-rw-r--r--src/lsm/lsm_merge.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lsm/lsm_merge.c b/src/lsm/lsm_merge.c
index 0bf1bb49b2f..1f70072b41f 100644
--- a/src/lsm/lsm_merge.c
+++ b/src/lsm/lsm_merge.c
@@ -152,10 +152,6 @@ __wt_lsm_merge(
if (F_ISSET(chunk, WT_LSM_CHUNK_MERGING) || chunk->bloom_busy)
break;
- WT_ASSERT(session, F_ISSET(chunk, WT_LSM_CHUNK_BLOOM) ||
- FLD_ISSET(lsm_tree->bloom, WT_LSM_BLOOM_OFF) ||
- chunk->generation > 0);
-
/*
* Look for small merges before trying a big one: some threads
* should stay in low levels until we get more aggressive.