mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Merge pull request #36005 from ClickHouse/tavplubix-patch-3
Another fix for settings randomization
This commit is contained in:
commit
e7fdb0ddce
@ -371,7 +371,7 @@ class SettingsRandomizer:
|
|||||||
"group_by_two_level_threshold_bytes": lambda: 1 if random.random() < 0.1 else 2 ** 60 if random.random() < 0.11 else 50000000,
|
"group_by_two_level_threshold_bytes": lambda: 1 if random.random() < 0.1 else 2 ** 60 if random.random() < 0.11 else 50000000,
|
||||||
"distributed_aggregation_memory_efficient": lambda: random.randint(0, 1),
|
"distributed_aggregation_memory_efficient": lambda: random.randint(0, 1),
|
||||||
"fsync_metadata": lambda: random.randint(0, 1),
|
"fsync_metadata": lambda: random.randint(0, 1),
|
||||||
"priority": lambda: int(abs(random.gauss(0, 2))),
|
"priority": lambda: min(3, int(abs(random.gauss(0, 2)))),
|
||||||
"output_format_parallel_formatting": lambda: random.randint(0, 1),
|
"output_format_parallel_formatting": lambda: random.randint(0, 1),
|
||||||
"input_format_parallel_parsing": lambda: random.randint(0, 1),
|
"input_format_parallel_parsing": lambda: random.randint(0, 1),
|
||||||
"min_chunk_bytes_for_parallel_parsing": lambda: max(1024, int(random.gauss(10 * 1024 * 1024, 5 * 1000 * 1000))),
|
"min_chunk_bytes_for_parallel_parsing": lambda: max(1024, int(random.gauss(10 * 1024 * 1024, 5 * 1000 * 1000))),
|
||||||
|
Loading…
Reference in New Issue
Block a user