diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/config/test_config.c')
-rw-r--r-- | src/third_party/wiredtiger/src/config/test_config.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/src/config/test_config.c b/src/third_party/wiredtiger/src/config/test_config.c index ed314e7e1b3..777b6902a1c 100644 --- a/src/third_party/wiredtiger/src/config/test_config.c +++ b/src/third_party/wiredtiger/src/config/test_config.c @@ -11,11 +11,16 @@ static const WT_CONFIG_CHECK confchk_stat_cache_size_subconfigs[] = { {"enabled", "boolean", NULL, NULL, NULL, 0}, {"limit", "int", NULL, "min=0", NULL, 0}, {NULL, NULL, NULL, NULL, NULL, 0}}; +static const WT_CONFIG_CHECK confchk_stat_db_size_subconfigs[] = { + {"enabled", "boolean", NULL, NULL, NULL, 0}, {"limit", "int", NULL, "min=0", NULL, 0}, + {NULL, NULL, NULL, NULL, NULL, 0}}; + static const WT_CONFIG_CHECK confchk_runtime_monitor_subconfigs[] = { {"enabled", "boolean", NULL, NULL, NULL, 0}, {"interval", "string", NULL, "choices=[\"s\",\"m\",\"h\"]", NULL, 0}, {"op_count", "int", NULL, "min=1,max=10000", NULL, 0}, {"stat_cache_size", "category", NULL, NULL, confchk_stat_cache_size_subconfigs, 2}, + {"stat_db_size", "category", NULL, NULL, confchk_stat_db_size_subconfigs, 2}, {NULL, NULL, NULL, NULL, NULL, 0}}; static const WT_CONFIG_CHECK confchk_timestamp_manager_subconfigs[] = { @@ -73,7 +78,7 @@ static const WT_CONFIG_CHECK confchk_example_test[] = { {"checkpoint_manager", "category", NULL, NULL, confchk_checkpoint_manager_subconfigs, 3}, {"duration_seconds", "int", NULL, "min=0,max=1000000", NULL, 0}, {"enable_logging", "boolean", NULL, NULL, NULL, 0}, - {"runtime_monitor", "category", NULL, NULL, confchk_runtime_monitor_subconfigs, 4}, + {"runtime_monitor", "category", NULL, NULL, confchk_runtime_monitor_subconfigs, 5}, {"timestamp_manager", "category", NULL, NULL, confchk_timestamp_manager_subconfigs, 5}, {"workload_generator", "category", NULL, NULL, confchk_workload_generator_subconfigs, 10}, {"workload_tracking", "category", NULL, NULL, confchk_workload_tracking_subconfigs, 3}, @@ -84,7 +89,7 @@ static const WT_CONFIG_CHECK confchk_poc_test[] = { {"checkpoint_manager", "category", NULL, NULL, confchk_checkpoint_manager_subconfigs, 3}, {"duration_seconds", "int", NULL, "min=0,max=1000000", NULL, 0}, {"enable_logging", "boolean", NULL, NULL, NULL, 0}, - {"runtime_monitor", "category", NULL, NULL, confchk_runtime_monitor_subconfigs, 4}, + {"runtime_monitor", "category", NULL, NULL, confchk_runtime_monitor_subconfigs, 5}, {"timestamp_manager", "category", NULL, NULL, confchk_timestamp_manager_subconfigs, 5}, {"workload_generator", "category", NULL, NULL, confchk_workload_generator_subconfigs, 10}, {"workload_tracking", "category", NULL, NULL, confchk_workload_tracking_subconfigs, 3}, @@ -95,7 +100,8 @@ static const WT_CONFIG_ENTRY config_entries[] = { "cache_size_mb=0,checkpoint_manager=(enabled=false,interval=s," "op_count=1),duration_seconds=0,enable_logging=false," "runtime_monitor=(enabled=true,interval=s,op_count=1," - "stat_cache_size=(enabled=false,limit=0))," + "stat_cache_size=(enabled=false,limit=0)," + "stat_db_size=(enabled=false,limit=0))," "timestamp_manager=(enabled=true,interval=s,oldest_lag=1," "op_count=1,stable_lag=1),workload_generator=(collection_count=1," "enabled=true,insert_config=(interval=s,key_size=5,op_count=1," @@ -111,7 +117,8 @@ static const WT_CONFIG_ENTRY config_entries[] = { "cache_size_mb=0,checkpoint_manager=(enabled=false,interval=s," "op_count=1),duration_seconds=0,enable_logging=false," "runtime_monitor=(enabled=true,interval=s,op_count=1," - "stat_cache_size=(enabled=false,limit=0))," + "stat_cache_size=(enabled=false,limit=0)," + "stat_db_size=(enabled=false,limit=0))," "timestamp_manager=(enabled=true,interval=s,oldest_lag=1," "op_count=1,stable_lag=1),workload_generator=(collection_count=1," "enabled=true,insert_config=(interval=s,key_size=5,op_count=1," |