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 | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/src/third_party/wiredtiger/src/config/test_config.c b/src/third_party/wiredtiger/src/config/test_config.c index 2a57bfd0415..fe7167d5f61 100644 --- a/src/third_party/wiredtiger/src/config/test_config.c +++ b/src/third_party/wiredtiger/src/config/test_config.c @@ -114,8 +114,7 @@ static const WT_CONFIG_CHECK confchk_bounded_cursor_perf[] = { {"workload_manager", "category", NULL, NULL, confchk_workload_manager_subconfigs, 9}, {NULL, NULL, NULL, NULL, NULL, 0}}; -static const WT_CONFIG_CHECK confchk_burst_inserts[] = { - {"burst_duration", "string", NULL, NULL, NULL, 0}, +static const WT_CONFIG_CHECK confchk_bounded_cursor_prefix_indices[] = { {"cache_max_wait_ms", "int", NULL, "min=0", NULL, 0}, {"cache_size_mb", "int", NULL, "min=0,max=100000000000", NULL, 0}, {"compression_enabled", "boolean", NULL, NULL, NULL, 0}, @@ -129,7 +128,7 @@ static const WT_CONFIG_CHECK confchk_burst_inserts[] = { {"workload_manager", "category", NULL, NULL, confchk_workload_manager_subconfigs, 9}, {NULL, NULL, NULL, NULL, NULL, 0}}; -static const WT_CONFIG_CHECK confchk_cache_resize[] = { +static const WT_CONFIG_CHECK confchk_bounded_cursor_prefix_search_near[] = { {"cache_max_wait_ms", "int", NULL, "min=0", NULL, 0}, {"cache_size_mb", "int", NULL, "min=0,max=100000000000", NULL, 0}, {"compression_enabled", "boolean", NULL, NULL, NULL, 0}, @@ -143,7 +142,7 @@ static const WT_CONFIG_CHECK confchk_cache_resize[] = { {"workload_manager", "category", NULL, NULL, confchk_workload_manager_subconfigs, 9}, {NULL, NULL, NULL, NULL, NULL, 0}}; -static const WT_CONFIG_CHECK confchk_cursor_bound_01[] = { +static const WT_CONFIG_CHECK confchk_bounded_cursor_prefix_stat[] = { {"cache_max_wait_ms", "int", NULL, "min=0", NULL, 0}, {"cache_size_mb", "int", NULL, "min=0,max=100000000000", NULL, 0}, {"compression_enabled", "boolean", NULL, NULL, NULL, 0}, @@ -152,12 +151,13 @@ static const WT_CONFIG_CHECK confchk_cursor_bound_01[] = { {"metrics_monitor", "category", NULL, NULL, confchk_metrics_monitor_subconfigs, 6}, {"operation_tracker", "category", NULL, NULL, confchk_operation_tracker_subconfigs, 4}, {"reverse_collator", "boolean", NULL, NULL, NULL, 0}, + {"search_near_threads", "string", NULL, NULL, NULL, 0}, {"statistics_config", "category", NULL, NULL, confchk_statistics_config_subconfigs, 2}, {"timestamp_manager", "category", NULL, NULL, confchk_timestamp_manager_subconfigs, 4}, {"workload_manager", "category", NULL, NULL, confchk_workload_manager_subconfigs, 9}, {NULL, NULL, NULL, NULL, NULL, 0}}; -static const WT_CONFIG_CHECK confchk_cursor_bound_02[] = { +static const WT_CONFIG_CHECK confchk_bounded_cursor_stress[] = { {"cache_max_wait_ms", "int", NULL, "min=0", NULL, 0}, {"cache_size_mb", "int", NULL, "min=0,max=100000000000", NULL, 0}, {"compression_enabled", "boolean", NULL, NULL, NULL, 0}, @@ -166,13 +166,13 @@ static const WT_CONFIG_CHECK confchk_cursor_bound_02[] = { {"metrics_monitor", "category", NULL, NULL, confchk_metrics_monitor_subconfigs, 6}, {"operation_tracker", "category", NULL, NULL, confchk_operation_tracker_subconfigs, 4}, {"reverse_collator", "boolean", NULL, NULL, NULL, 0}, - {"search_near_threads", "string", NULL, NULL, NULL, 0}, {"statistics_config", "category", NULL, NULL, confchk_statistics_config_subconfigs, 2}, {"timestamp_manager", "category", NULL, NULL, confchk_timestamp_manager_subconfigs, 4}, {"workload_manager", "category", NULL, NULL, confchk_workload_manager_subconfigs, 9}, {NULL, NULL, NULL, NULL, NULL, 0}}; -static const WT_CONFIG_CHECK confchk_cursor_bound_03[] = { +static const WT_CONFIG_CHECK confchk_burst_inserts[] = { + {"burst_duration", "string", NULL, NULL, NULL, 0}, {"cache_max_wait_ms", "int", NULL, "min=0", NULL, 0}, {"cache_size_mb", "int", NULL, "min=0,max=100000000000", NULL, 0}, {"compression_enabled", "boolean", NULL, NULL, NULL, 0}, @@ -186,7 +186,7 @@ static const WT_CONFIG_CHECK confchk_cursor_bound_03[] = { {"workload_manager", "category", NULL, NULL, confchk_workload_manager_subconfigs, 9}, {NULL, NULL, NULL, NULL, NULL, 0}}; -static const WT_CONFIG_CHECK confchk_cursor_bound_04[] = { +static const WT_CONFIG_CHECK confchk_cache_resize[] = { {"cache_max_wait_ms", "int", NULL, "min=0", NULL, 0}, {"cache_size_mb", "int", NULL, "min=0,max=100000000000", NULL, 0}, {"compression_enabled", "boolean", NULL, NULL, NULL, 0}, @@ -312,34 +312,7 @@ static const WT_CONFIG_ENTRY config_entries[] = { "update_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1," "min=0),thread_count=0,value_size=5))", confchk_bounded_cursor_perf, 11}, - {"burst_inserts", - "burst_duration=90,cache_max_wait_ms=0,cache_size_mb=0," - "compression_enabled=false,duration_seconds=0," - "enable_logging=false,metrics_monitor=(cache_hs_insert=(max=1," - "min=0,postrun=false,runtime=false,save=false)," - "cc_pages_removed=(max=1,min=0,postrun=false,runtime=false," - "save=false),enabled=true,op_rate=1s,stat_cache_size=(max=1,min=0" - ",postrun=false,runtime=false,save=false),stat_db_size=(max=1," - "min=0,postrun=false,runtime=false,save=false))," - "operation_tracker=(enabled=true,op_rate=1s," - "tracking_key_format=QSQ,tracking_value_format=iS)," - "reverse_collator=false,statistics_config=(enable_logging=true," - "type=all),timestamp_manager=(enabled=true,oldest_lag=1," - "op_rate=1s,stable_lag=1)," - "workload_manager=(checkpoint_config=(op_rate=60s,thread_count=1)" - ",custom_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1" - ",min=0),thread_count=0,value_size=5),enabled=true," - "insert_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1," - "min=0),thread_count=0,value_size=5),op_rate=1s," - "populate_config=(collection_count=1,key_count_per_collection=0," - "key_size=5,thread_count=1,value_size=5),read_config=(key_size=5," - "op_rate=1s,ops_per_transaction=(max=1,min=0),thread_count=0," - "value_size=5),remove_config=(op_rate=1s," - "ops_per_transaction=(max=1,min=0),thread_count=0)," - "update_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1," - "min=0),thread_count=0,value_size=5))", - confchk_burst_inserts, 12}, - {"cache_resize", + {"bounded_cursor_prefix_indices", "cache_max_wait_ms=0,cache_size_mb=0,compression_enabled=false," "duration_seconds=0,enable_logging=false," "metrics_monitor=(cache_hs_insert=(max=1,min=0,postrun=false," @@ -364,8 +337,8 @@ static const WT_CONFIG_ENTRY config_entries[] = { "ops_per_transaction=(max=1,min=0),thread_count=0)," "update_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1," "min=0),thread_count=0,value_size=5))", - confchk_cache_resize, 11}, - {"cursor_bound_01", + confchk_bounded_cursor_prefix_indices, 11}, + {"bounded_cursor_prefix_search_near", "cache_max_wait_ms=0,cache_size_mb=0,compression_enabled=false," "duration_seconds=0,enable_logging=false," "metrics_monitor=(cache_hs_insert=(max=1,min=0,postrun=false," @@ -390,8 +363,8 @@ static const WT_CONFIG_ENTRY config_entries[] = { "ops_per_transaction=(max=1,min=0),thread_count=0)," "update_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1," "min=0),thread_count=0,value_size=5))", - confchk_cursor_bound_01, 11}, - {"cursor_bound_02", + confchk_bounded_cursor_prefix_search_near, 11}, + {"bounded_cursor_prefix_stat", "cache_max_wait_ms=0,cache_size_mb=0,compression_enabled=false," "duration_seconds=0,enable_logging=false," "metrics_monitor=(cache_hs_insert=(max=1,min=0,postrun=false," @@ -416,8 +389,8 @@ static const WT_CONFIG_ENTRY config_entries[] = { "remove_config=(op_rate=1s,ops_per_transaction=(max=1,min=0)," "thread_count=0),update_config=(key_size=5,op_rate=1s," "ops_per_transaction=(max=1,min=0),thread_count=0,value_size=5))", - confchk_cursor_bound_02, 12}, - {"cursor_bound_03", + confchk_bounded_cursor_prefix_stat, 12}, + {"bounded_cursor_stress", "cache_max_wait_ms=0,cache_size_mb=0,compression_enabled=false," "duration_seconds=0,enable_logging=false," "metrics_monitor=(cache_hs_insert=(max=1,min=0,postrun=false," @@ -442,8 +415,35 @@ static const WT_CONFIG_ENTRY config_entries[] = { "ops_per_transaction=(max=1,min=0),thread_count=0)," "update_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1," "min=0),thread_count=0,value_size=5))", - confchk_cursor_bound_03, 11}, - {"cursor_bound_04", + confchk_bounded_cursor_stress, 11}, + {"burst_inserts", + "burst_duration=90,cache_max_wait_ms=0,cache_size_mb=0," + "compression_enabled=false,duration_seconds=0," + "enable_logging=false,metrics_monitor=(cache_hs_insert=(max=1," + "min=0,postrun=false,runtime=false,save=false)," + "cc_pages_removed=(max=1,min=0,postrun=false,runtime=false," + "save=false),enabled=true,op_rate=1s,stat_cache_size=(max=1,min=0" + ",postrun=false,runtime=false,save=false),stat_db_size=(max=1," + "min=0,postrun=false,runtime=false,save=false))," + "operation_tracker=(enabled=true,op_rate=1s," + "tracking_key_format=QSQ,tracking_value_format=iS)," + "reverse_collator=false,statistics_config=(enable_logging=true," + "type=all),timestamp_manager=(enabled=true,oldest_lag=1," + "op_rate=1s,stable_lag=1)," + "workload_manager=(checkpoint_config=(op_rate=60s,thread_count=1)" + ",custom_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1" + ",min=0),thread_count=0,value_size=5),enabled=true," + "insert_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1," + "min=0),thread_count=0,value_size=5),op_rate=1s," + "populate_config=(collection_count=1,key_count_per_collection=0," + "key_size=5,thread_count=1,value_size=5),read_config=(key_size=5," + "op_rate=1s,ops_per_transaction=(max=1,min=0),thread_count=0," + "value_size=5),remove_config=(op_rate=1s," + "ops_per_transaction=(max=1,min=0),thread_count=0)," + "update_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1," + "min=0),thread_count=0,value_size=5))", + confchk_burst_inserts, 12}, + {"cache_resize", "cache_max_wait_ms=0,cache_size_mb=0,compression_enabled=false," "duration_seconds=0,enable_logging=false," "metrics_monitor=(cache_hs_insert=(max=1,min=0,postrun=false," @@ -468,7 +468,7 @@ static const WT_CONFIG_ENTRY config_entries[] = { "ops_per_transaction=(max=1,min=0),thread_count=0)," "update_config=(key_size=5,op_rate=1s,ops_per_transaction=(max=1," "min=0),thread_count=0,value_size=5))", - confchk_cursor_bound_04, 11}, + confchk_cache_resize, 11}, {"hs_cleanup", "cache_max_wait_ms=0,cache_size_mb=0,compression_enabled=false," "duration_seconds=0,enable_logging=false," |