mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Resolve review comments
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
This commit is contained in:
parent
5b4e014b8e
commit
33443351c3
@ -543,8 +543,8 @@ class SettingsRandomizer:
|
|||||||
0.2, 0.5, 1, 10 * 1024 * 1024 * 1024
|
0.2, 0.5, 1, 10 * 1024 * 1024 * 1024
|
||||||
),
|
),
|
||||||
"local_filesystem_read_method": lambda: random.choice(
|
"local_filesystem_read_method": lambda: random.choice(
|
||||||
# io_uring is not supported on macOS, don't choose it
|
# Allow to use uring only when running on Linux
|
||||||
["read", "pread", "mmap", "pread_threadpool", "io_uring"] if platform.system().lower() != "darwin" else ["read", "pread", "mmap", "pread_threadpool"]
|
["read", "pread", "mmap", "pread_threadpool", "io_uring"] if platform.system().lower() == "linux" else ["read", "pread", "mmap", "pread_threadpool"]
|
||||||
),
|
),
|
||||||
"remote_filesystem_read_method": lambda: random.choice(["read", "threadpool"]),
|
"remote_filesystem_read_method": lambda: random.choice(["read", "threadpool"]),
|
||||||
"local_filesystem_read_prefetch": lambda: random.randint(0, 1),
|
"local_filesystem_read_prefetch": lambda: random.randint(0, 1),
|
||||||
|
Loading…
Reference in New Issue
Block a user