mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Don't choose io_uring for macOS
This commit is contained in:
parent
7abb94fe33
commit
5b4e014b8e
@ -11,6 +11,7 @@ import shutil
|
||||
import sys
|
||||
import os
|
||||
import os.path
|
||||
import platform
|
||||
import signal
|
||||
import re
|
||||
import copy
|
||||
@ -542,7 +543,8 @@ class SettingsRandomizer:
|
||||
0.2, 0.5, 1, 10 * 1024 * 1024 * 1024
|
||||
),
|
||||
"local_filesystem_read_method": lambda: random.choice(
|
||||
["read", "pread", "mmap", "pread_threadpool", "io_uring"]
|
||||
# io_uring is not supported on macOS, don't choose it
|
||||
["read", "pread", "mmap", "pread_threadpool", "io_uring"] if platform.system().lower() != "darwin" else ["read", "pread", "mmap", "pread_threadpool"]
|
||||
),
|
||||
"remote_filesystem_read_method": lambda: random.choice(["read", "threadpool"]),
|
||||
"local_filesystem_read_prefetch": lambda: random.randint(0, 1),
|
||||
|
Loading…
Reference in New Issue
Block a user