@@ -384,6 +384,12 @@ DEFINE_mInt32(trash_file_expire_time_sec, "0");
384384// modify them upon necessity
385385DEFINE_Int32 (min_file_descriptor_number, " 60000" );
386386DEFINE_mBool (disable_segment_cache, " false" );
387+ // Enable checking segment rows consistency between rowset meta and segment footer
388+ DEFINE_mBool (enable_segment_rows_consistency_check, " false" );
389+ DEFINE_mBool (enable_segment_rows_check_core, " false" );
390+ // ATTENTION: For test only. In test environment, there are no historical data,
391+ // so all rowset meta should have segment rows info.
392+ DEFINE_mBool (fail_when_segment_rows_not_in_rowset_meta, " false" );
387393DEFINE_String (row_cache_mem_limit, " 20%" );
388394
389395// Cache for storage page size
@@ -567,6 +573,14 @@ DEFINE_Bool(enable_all_http_auth, "false");
567573// Number of webserver workers
568574DEFINE_Int32 (webserver_num_workers, " 128" );
569575
576+ // Async replies: stream load only now
577+ // reply wait timeout only happens if:
578+ // 1. Stream load fragment execution times out
579+ // HTTP request freed → stream load canceled
580+ // 2. Client disconnects
581+ DEFINE_mInt32 (async_reply_timeout_s, " 60" );
582+ DEFINE_Validator (async_reply_timeout_s, [](const int config) -> bool { return config >= 3 ; });
583+
570584DEFINE_Bool (enable_single_replica_load, " true" );
571585// Number of download workers for single replica load
572586DEFINE_Int32 (single_replica_load_download_num_workers, " 64" );
@@ -1010,7 +1024,7 @@ DEFINE_mInt64(big_column_size_buffer, "65535");
10101024DEFINE_mInt64 (small_column_size_buffer, " 100" );
10111025
10121026// Perform the always_true check at intervals determined by runtime_filter_sampling_frequency
1013- DEFINE_mInt32 (runtime_filter_sampling_frequency, " 64 " );
1027+ DEFINE_mInt32 (runtime_filter_sampling_frequency, " 32 " );
10141028DEFINE_mInt32 (execution_max_rpc_timeout_sec, " 3600" );
10151029DEFINE_mBool (execution_ignore_eovercrowded, " true" );
10161030// cooldown task configs
@@ -1234,7 +1248,7 @@ DEFINE_Int32(segment_cache_capacity, "-1");
12341248DEFINE_Int32 (segment_cache_fd_percentage, " 20" );
12351249DEFINE_mInt32 (estimated_mem_per_column_reader, " 512" );
12361250DEFINE_Int32 (segment_cache_memory_percentage, " 5" );
1237- DEFINE_Bool (enable_segment_cache_prune, " true " );
1251+ DEFINE_Bool (enable_segment_cache_prune, " false " );
12381252
12391253// enable feature binlog, default false
12401254DEFINE_Bool (enable_feature_binlog, " false" );
@@ -1599,18 +1613,7 @@ DEFINE_mInt64(max_csv_line_reader_output_buffer_size, "4294967296");
15991613// Maximum number of OpenMP threads allowed for concurrent vector index builds.
16001614// -1 means auto: use 80% of the available CPU cores.
16011615DEFINE_Int32 (omp_threads_limit, " -1" );
1602- DEFINE_Validator (omp_threads_limit, [](const int config) -> bool {
1603- if (config > 0 ) {
1604- omp_threads_limit = config;
1605- return true ;
1606- }
1607- CpuInfo::init ();
1608- int core_cap = config::num_cores > 0 ? config::num_cores : CpuInfo::num_cores ();
1609- core_cap = std::max (1 , core_cap);
1610- // Use at most 80% of the available CPU cores.
1611- omp_threads_limit = std::max (1 , core_cap * 4 / 5 );
1612- return true ;
1613- });
1616+
16141617// The capacity of segment partial column cache, used to cache column readers for each segment.
16151618DEFINE_mInt32 (max_segment_partial_column_cache_size, " 100" );
16161619
@@ -2085,6 +2088,8 @@ Status set_fuzzy_configs() {
20852088 ((distribution (*generator) % 2 ) == 0 ) ? " 10" : " 4294967295" ;
20862089 fuzzy_field_and_value[" skip_writing_empty_rowset_metadata" ] =
20872090 ((distribution (*generator) % 2 ) == 0 ) ? " true" : " false" ;
2091+ fuzzy_field_and_value[" enable_packed_file" ] =
2092+ ((distribution (*generator) % 2 ) == 0 ) ? " true" : " false" ;
20882093 fuzzy_field_and_value[" max_segment_partial_column_cache_size" ] =
20892094 ((distribution (*generator) % 2 ) == 0 ) ? " 5" : " 10" ;
20902095
0 commit comments