summaryrefslogtreecommitdiff
path: root/dist/api_data.py
diff options
context:
space:
mode:
authorAlex Gorrod <alexg@wiredtiger.com>2014-12-17 12:31:44 +1100
committerAlex Gorrod <alexg@wiredtiger.com>2014-12-17 12:31:44 +1100
commit0602b161254095289ecc1c72b2808a9e5d75c1ea (patch)
tree008d692d50b46e623a045ac8d168659049d0885c /dist/api_data.py
parente071e1c91852109d51556f89441b0fb6112d5231 (diff)
parentf6997f8ce298b2af07c3163ec108f558558c4767 (diff)
downloadmongo-0602b161254095289ecc1c72b2808a9e5d75c1ea.tar.gz
Merge pull request #1486 from wiredtiger/none-config-2
Some more configuration changes with respect to the "none" value.
Diffstat (limited to 'dist/api_data.py')
-rw-r--r--dist/api_data.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/dist/api_data.py b/dist/api_data.py
index 8ba016f2b6c..716ce77c871 100644
--- a/dist/api_data.py
+++ b/dist/api_data.py
@@ -154,11 +154,11 @@ file_config = format_meta + [
Config('format', 'btree', r'''
the file format''',
choices=['btree']),
- Config('huffman_key', '', r'''
+ Config('huffman_key', 'none', r'''
configure Huffman encoding for keys. Permitted values are
\c "none", \c "english", \c "utf8<file>" or \c "utf16<file>".
See @ref huffman for more information'''),
- Config('huffman_value', '', r'''
+ Config('huffman_value', 'none', r'''
configure Huffman encoding for values. Permitted values are
\c "none", \c "english", \c "utf8<file>" or \c "utf16<file>".
See @ref huffman for more information'''),
@@ -273,7 +273,7 @@ table_only_config = [
]
index_only_config = [
- Config('extractor', '', r'''
+ Config('extractor', 'none', r'''
configure custom extractor for indices. Permitted values are
\c "none" or an extractor name created with
WT_CONNECTION::add_extractor'''),
@@ -371,7 +371,7 @@ connection_runtime_config = [
vary depending on the current eviction load''',
min=1, max=20),
]),
- Config('shared_cache', '', r'''
+ Config('shared_cache', 'none', r'''
shared cache configuration options. A database should configure
either a cache_size or a shared_cache not both''',
type='category', subconfig=[
@@ -382,8 +382,9 @@ connection_runtime_config = [
amount of cache this database is guaranteed to have
available from the shared cache. This setting is per
database. Defaults to the chunk size''', type='int'),
- Config('name', '', r'''
- name of a cache that is shared between databases'''),
+ Config('name', 'none', r'''
+ the name of a cache that is shared between databases or
+ \c "none" when no shared cache is configured'''),
Config('size', '500MB', r'''
maximum memory to allocate for the shared cache. Setting
this will update the value if one is already set''',