summaryrefslogtreecommitdiff
path: root/dist/api_data.py
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-03-25 08:19:12 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2016-03-25 08:19:12 +1100
commit43e885a0f9a3ad046eae1726b005ca1280624be3 (patch)
treef03d31a7b36c476484f26ea5259777aeb7b13201 /dist/api_data.py
parent5cdd3e320cb19cd54111c2572a3d6e33d3009ad4 (diff)
parent9cf8eb2f15c6df7da90c19c86ccf7516ed126183 (diff)
downloadmongodb-3.2.5.tar.gz
Merge branch 'mongodb-3.4' into mongodb-3.2mongodb-3.2.5
Diffstat (limited to 'dist/api_data.py')
-rw-r--r--dist/api_data.py34
1 files changed, 28 insertions, 6 deletions
diff --git a/dist/api_data.py b/dist/api_data.py
index c386c0b345d..02aee1e8825 100644
--- a/dist/api_data.py
+++ b/dist/api_data.py
@@ -76,12 +76,12 @@ lsm_config = [
Config('bloom', 'true', r'''
create bloom filters on LSM tree chunks as they are merged''',
type='boolean'),
- Config('bloom_config', '', r'''
- config string used when creating Bloom filter files, passed
- to WT_SESSION::create'''),
Config('bloom_bit_count', '16', r'''
the number of bits used per item for LSM bloom filters''',
min='2', max='1000'),
+ Config('bloom_config', '', r'''
+ config string used when creating Bloom filter files, passed
+ to WT_SESSION::create'''),
Config('bloom_hash_count', '8', r'''
the number of hash values per item used for LSM bloom
filters''',
@@ -299,6 +299,15 @@ file_meta = file_config + [
the file version'''),
]
+lsm_meta = file_config + lsm_config + [
+ Config('last', '', r'''
+ the last allocated chunk ID'''),
+ Config('chunks', '', r'''
+ active chunks in the LSM tree'''),
+ Config('old_chunks', '', r'''
+ obsolete chunks in the LSM tree'''),
+]
+
table_only_config = [
Config('colgroups', '', r'''
comma-separated list of names of column groups. Each column
@@ -522,6 +531,9 @@ connection_runtime_config = [
the statistics log server uses a session from the configured
session_max''',
type='category', subconfig=[
+ Config('json', 'false', r'''
+ encode statistics in JSON format''',
+ type='boolean'),
Config('on_close', 'false', r'''log statistics on database close''',
type='boolean'),
Config('path', '"WiredTigerStat.%d.%H"', r'''
@@ -538,7 +550,8 @@ connection_runtime_config = [
type='list'),
Config('timestamp', '"%b %d %H:%M:%S"', r'''
a timestamp prepended to each log record, may contain strftime
- conversion specifications'''),
+ conversion specifications, when \c json is configured, defaults
+ to \c "%FT%Y.000Z"'''),
Config('wait', '0', r'''
seconds to wait between each write of the log records; setting
this value above 0 configures statistics logging''',
@@ -655,6 +668,11 @@ wiredtiger_open_common = connection_runtime_config + [
RPC server for primary processes and use RPC for secondary
processes). <b>Not yet supported in WiredTiger</b>''',
type='boolean'),
+ Config('readonly', 'false', r'''
+ open connection in read-only mode. The database must exist. All
+ methods that may modify a database are disabled. See @ref readonly
+ for more information''',
+ type='boolean'),
Config('session_max', '100', r'''
maximum expected number of sessions (including server
threads)''',
@@ -732,12 +750,16 @@ cursor_runtime_config = [
]
methods = {
-'file.meta' : Method(file_meta),
-
'colgroup.meta' : Method(colgroup_meta),
+'file.config' : Method(file_config),
+
+'file.meta' : Method(file_meta),
+
'index.meta' : Method(index_meta),
+'lsm.meta' : Method(lsm_meta),
+
'table.meta' : Method(table_meta),
'WT_CURSOR.close' : Method([]),