summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/config/config_def.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/config/config_def.c')
-rw-r--r--src/third_party/wiredtiger/src/config/config_def.c41
1 files changed, 24 insertions, 17 deletions
diff --git a/src/third_party/wiredtiger/src/config/config_def.c b/src/third_party/wiredtiger/src/config/config_def.c
index b45cdf0b75a..9d2e5ba9c86 100644
--- a/src/third_party/wiredtiger/src/config/config_def.c
+++ b/src/third_party/wiredtiger/src/config/config_def.c
@@ -345,6 +345,7 @@ static const WT_CONFIG_CHECK confchk_wiredtiger_open[] = {
{ "mmap", "boolean", NULL, NULL },
{ "multiprocess", "boolean", NULL, NULL },
{ "session_max", "int", "min=1", NULL },
+ { "session_scratch_max", "int", NULL, NULL },
{ "shared_cache", "category", NULL,
confchk_shared_cache_subconfigs },
{ "statistics", "list",
@@ -393,6 +394,7 @@ static const WT_CONFIG_CHECK confchk_wiredtiger_open_all[] = {
{ "mmap", "boolean", NULL, NULL },
{ "multiprocess", "boolean", NULL, NULL },
{ "session_max", "int", "min=1", NULL },
+ { "session_scratch_max", "int", NULL, NULL },
{ "shared_cache", "category", NULL,
confchk_shared_cache_subconfigs },
{ "statistics", "list",
@@ -439,6 +441,7 @@ static const WT_CONFIG_CHECK confchk_wiredtiger_open_basecfg[] = {
{ "mmap", "boolean", NULL, NULL },
{ "multiprocess", "boolean", NULL, NULL },
{ "session_max", "int", "min=1", NULL },
+ { "session_scratch_max", "int", NULL, NULL },
{ "shared_cache", "category", NULL,
confchk_shared_cache_subconfigs },
{ "statistics", "list",
@@ -484,6 +487,7 @@ static const WT_CONFIG_CHECK confchk_wiredtiger_open_usercfg[] = {
{ "mmap", "boolean", NULL, NULL },
{ "multiprocess", "boolean", NULL, NULL },
{ "session_max", "int", "min=1", NULL },
+ { "session_scratch_max", "int", NULL, NULL },
{ "shared_cache", "category", NULL,
confchk_shared_cache_subconfigs },
{ "statistics", "list",
@@ -666,11 +670,12 @@ static const WT_CONFIG_ENTRY config_entries[] = {
"file_extend=,hazard_max=1000,log=(archive=,compressor=,enabled=0"
",file_max=100MB,path=,prealloc=),lsm_manager=(merge=,"
"worker_thread_max=4),lsm_merge=,mmap=,multiprocess=0,"
- "session_max=100,shared_cache=(chunk=10MB,name=,reserve=0,"
- "size=500MB),statistics=none,statistics_log=(on_close=0,"
- "path=\"WiredTigerStat.%d.%H\",sources=,"
- "timestamp=\"%b %d %H:%M:%S\",wait=0),transaction_sync=(enabled=0"
- ",method=fsync),use_environment_priv=0,verbose=",
+ "session_max=100,session_scratch_max=2MB,shared_cache=(chunk=10MB"
+ ",name=,reserve=0,size=500MB),statistics=none,"
+ "statistics_log=(on_close=0,path=\"WiredTigerStat.%d.%H\","
+ "sources=,timestamp=\"%b %d %H:%M:%S\",wait=0),"
+ "transaction_sync=(enabled=0,method=fsync),use_environment_priv=0"
+ ",verbose=",
confchk_wiredtiger_open
},
{ "wiredtiger_open_all",
@@ -683,12 +688,12 @@ static const WT_CONFIG_ENTRY config_entries[] = {
"file_extend=,hazard_max=1000,log=(archive=,compressor=,enabled=0"
",file_max=100MB,path=,prealloc=),lsm_manager=(merge=,"
"worker_thread_max=4),lsm_merge=,mmap=,multiprocess=0,"
- "session_max=100,shared_cache=(chunk=10MB,name=,reserve=0,"
- "size=500MB),statistics=none,statistics_log=(on_close=0,"
- "path=\"WiredTigerStat.%d.%H\",sources=,"
- "timestamp=\"%b %d %H:%M:%S\",wait=0),transaction_sync=(enabled=0"
- ",method=fsync),use_environment_priv=0,verbose=,version=(major=0,"
- "minor=0)",
+ "session_max=100,session_scratch_max=2MB,shared_cache=(chunk=10MB"
+ ",name=,reserve=0,size=500MB),statistics=none,"
+ "statistics_log=(on_close=0,path=\"WiredTigerStat.%d.%H\","
+ "sources=,timestamp=\"%b %d %H:%M:%S\",wait=0),"
+ "transaction_sync=(enabled=0,method=fsync),use_environment_priv=0"
+ ",verbose=,version=(major=0,minor=0)",
confchk_wiredtiger_open_all
},
{ "wiredtiger_open_basecfg",
@@ -700,9 +705,10 @@ static const WT_CONFIG_ENTRY config_entries[] = {
"extensions=,file_extend=,hazard_max=1000,log=(archive=,"
"compressor=,enabled=0,file_max=100MB,path=,prealloc=),"
"lsm_manager=(merge=,worker_thread_max=4),lsm_merge=,mmap=,"
- "multiprocess=0,session_max=100,shared_cache=(chunk=10MB,name=,"
- "reserve=0,size=500MB),statistics=none,statistics_log=(on_close=0"
- ",path=\"WiredTigerStat.%d.%H\",sources=,"
+ "multiprocess=0,session_max=100,session_scratch_max=2MB,"
+ "shared_cache=(chunk=10MB,name=,reserve=0,size=500MB),"
+ "statistics=none,statistics_log=(on_close=0,"
+ "path=\"WiredTigerStat.%d.%H\",sources=,"
"timestamp=\"%b %d %H:%M:%S\",wait=0),transaction_sync=(enabled=0"
",method=fsync),verbose=,version=(major=0,minor=0)",
confchk_wiredtiger_open_basecfg
@@ -716,9 +722,10 @@ static const WT_CONFIG_ENTRY config_entries[] = {
"extensions=,file_extend=,hazard_max=1000,log=(archive=,"
"compressor=,enabled=0,file_max=100MB,path=,prealloc=),"
"lsm_manager=(merge=,worker_thread_max=4),lsm_merge=,mmap=,"
- "multiprocess=0,session_max=100,shared_cache=(chunk=10MB,name=,"
- "reserve=0,size=500MB),statistics=none,statistics_log=(on_close=0"
- ",path=\"WiredTigerStat.%d.%H\",sources=,"
+ "multiprocess=0,session_max=100,session_scratch_max=2MB,"
+ "shared_cache=(chunk=10MB,name=,reserve=0,size=500MB),"
+ "statistics=none,statistics_log=(on_close=0,"
+ "path=\"WiredTigerStat.%d.%H\",sources=,"
"timestamp=\"%b %d %H:%M:%S\",wait=0),transaction_sync=(enabled=0"
",method=fsync),verbose=",
confchk_wiredtiger_open_usercfg