summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2012-10-04 18:18:58 +1000
committerAlex Gorrod <alexg@wiredtiger.com>2012-10-04 18:18:58 +1000
commit598ee52446e6797251e33e6d005f0662d52293df (patch)
tree17d6a314e0bccb335fd368a23025ae3a16ee16b2 /src/include
parentbc2a6c8b2c35f38fdf7e11902cf69c163aba4760 (diff)
downloadmongo-598ee52446e6797251e33e6d005f0662d52293df.tar.gz
Add ability to disable LSM bloom filters.
Also add python LSM configuration test.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/lsm.h1
-rw-r--r--src/include/wiredtiger.in2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/lsm.h b/src/include/lsm.h
index 30054491975..31514744701 100644
--- a/src/include/lsm.h
+++ b/src/include/lsm.h
@@ -56,6 +56,7 @@ struct __wt_lsm_tree {
uint32_t bloom_hash_count;
uint32_t chunk_size;
uint32_t merge_max;
+ uint32_t bloom; /* Is bloom enabled. */
WT_SESSION_IMPL *worker_session;/* Passed to thread_create */
pthread_t worker_tid; /* LSM worker thread */
diff --git a/src/include/wiredtiger.in b/src/include/wiredtiger.in
index e95d2198615..9c66c9c5460 100644
--- a/src/include/wiredtiger.in
+++ b/src/include/wiredtiger.in
@@ -656,6 +656,8 @@ struct __wt_session {
* significant for applications wanting to maximize sequential data
* transfer from a storage device.,an integer between 512B and 512MB;
* default \c 1MB.}
+ * @config{lsm_bloom, create bloom filters for LSM trees..,a boolean
+ * flag; default \c true.}
* @config{lsm_bloom_bit_count, the number of bits used per item for LSM
* bloom filters..,an integer between 2 and 1000; default \c 8.}
* @config{lsm_bloom_hash_count, the number of hash values per item used