Skip to content

Commit

Permalink
[chore](fuzzy) add more fuzzy config
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed May 18, 2024
1 parent 776563d commit 797b944
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions be/src/common/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1709,6 +1709,14 @@ Status set_fuzzy_configs() {
((distribution(*generator) % 2) == 0) ? "true" : "false";
fuzzy_field_and_value["string_overflow_size"] =
((distribution(*generator) % 2) == 0) ? "10" : "4294967295";
fuzzy_field_and_value["write_buffer_size"] =
((distribution(*generator) % 2) == 0) ? "1024" : "209715200";
fuzzy_field_and_value["write_buffer_size_for_agg"] =
((distribution(*generator) % 2) == 0) ? "1024" : "419430400";
fuzzy_field_and_value["enable_vertical_compaction"] =
((distribution(*generator) % 2) == 0) ? "true" : "false";
fuzzy_field_and_value["enable_compaction_checksum"] =
((distribution(*generator) % 2) == 0) ? "true" : "false";

fmt::memory_buffer buf;
for (auto& it : fuzzy_field_and_value) {
Expand Down
3 changes: 2 additions & 1 deletion regression-test/pipeline/cloud_p0/conf/be_custom.conf
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ tmp_file_dirs = [{"path":"/data/doris_cloud/tmp","max_cache_bytes":104857600,"ma
thrift_rpc_timeout_ms = 360000
# For debug
sys_log_verbose_modules=vrow_distribution,tablet_info
sys_log_verbose_level=7
sys_log_verbose_level=7
enable_fuzzy_mode=true

0 comments on commit 797b944

Please sign in to comment.