Integrate new configuration options available in WiredTiger.
This commit is contained in:
parent
1664fdcf8c
commit
634bcd188a
2 changed files with 7 additions and 2 deletions
|
@ -410,6 +410,8 @@ establish_connection(Config, Type) ->
|
||||||
orddict:from_list(
|
orddict:from_list(
|
||||||
[ wterl:config_value(create, Config, true),
|
[ wterl:config_value(create, Config, true),
|
||||||
wterl:config_value(checkpoint_sync, Config, false),
|
wterl:config_value(checkpoint_sync, Config, false),
|
||||||
|
wterl:config_value(transaction_sync, Config, "none"),
|
||||||
|
wterl:config_value(log, Config, [{enabled, false}]),
|
||||||
wterl:config_value(session_max, Config, max_sessions(Config)),
|
wterl:config_value(session_max, Config, max_sessions(Config)),
|
||||||
wterl:config_value(cache_size, Config, size_cache(RequestedCacheSize)),
|
wterl:config_value(cache_size, Config, size_cache(RequestedCacheSize)),
|
||||||
wterl:config_value(statistics_log, Config, [{wait, 600}]), % in seconds
|
wterl:config_value(statistics_log, Config, [{wait, 600}]), % in seconds
|
||||||
|
|
|
@ -461,11 +461,13 @@ config_to_bin([{Key, Value} | Rest], Acc) ->
|
||||||
{create, bool},
|
{create, bool},
|
||||||
{direct_io, list},
|
{direct_io, list},
|
||||||
{drop, list},
|
{drop, list},
|
||||||
|
{enabled, bool},
|
||||||
{error_prefix, string},
|
{error_prefix, string},
|
||||||
{eviction_target, integer},
|
{eviction_target, integer},
|
||||||
{eviction_trigger, integer},
|
{eviction_trigger, integer},
|
||||||
{extensions, {list, quoted}},
|
{extensions, {list, quoted}},
|
||||||
{statistics_fast, bool},
|
{statistics_fast, bool},
|
||||||
|
{file_max, string},
|
||||||
{force, bool},
|
{force, bool},
|
||||||
{from, string},
|
{from, string},
|
||||||
{hazard_max, integer},
|
{hazard_max, integer},
|
||||||
|
@ -475,23 +477,24 @@ config_to_bin([{Key, Value} | Rest], Acc) ->
|
||||||
{isolation, string},
|
{isolation, string},
|
||||||
{key_type, string},
|
{key_type, string},
|
||||||
{leaf_page_max, string},
|
{leaf_page_max, string},
|
||||||
{logging, bool},
|
{log, config},
|
||||||
{lsm_bloom_bit_count, integer},
|
{lsm_bloom_bit_count, integer},
|
||||||
{lsm_bloom_config, config},
|
{lsm_bloom_config, config},
|
||||||
{lsm_bloom_hash_count, integer},
|
{lsm_bloom_hash_count, integer},
|
||||||
{lsm_bloom_newest, bool},
|
{lsm_bloom_newest, bool},
|
||||||
{lsm_bloom_oldest, bool},
|
{lsm_bloom_oldest, bool},
|
||||||
{lsm_chunk_size, string},
|
{lsm_chunk_size, string},
|
||||||
{prefix_compression, bool},
|
|
||||||
{lsm_merge_threads, integer},
|
{lsm_merge_threads, integer},
|
||||||
{multiprocess, bool},
|
{multiprocess, bool},
|
||||||
{name, string},
|
{name, string},
|
||||||
{overwrite, bool},
|
{overwrite, bool},
|
||||||
|
{prefix_compression, bool},
|
||||||
{raw, bool},
|
{raw, bool},
|
||||||
{session_max, integer},
|
{session_max, integer},
|
||||||
{statistics_log, config},
|
{statistics_log, config},
|
||||||
{target, {list, quoted}},
|
{target, {list, quoted}},
|
||||||
{to, string},
|
{to, string},
|
||||||
|
{transaction_sync, string},
|
||||||
{transactional, bool},
|
{transactional, bool},
|
||||||
{verbose, list},
|
{verbose, list},
|
||||||
{wait, integer}],
|
{wait, integer}],
|
||||||
|
|
Loading…
Reference in a new issue