-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto regress to std fs backend if io_uring is not usable on Linux #7116
Comments
Will take a look tomorrow. Out of curiosity, what kernel version and distribution are running in the Docker VM?
|
Inside the page server container,
I'm on OrbStack Pro trial and it's really easy to use 😅 except I don't know what modifications they did to the kernel. |
Seems related: moby/moby#39396 |
esp: moby/moby#39396 (comment) edit: so the support for io_uring was added, and then removed again due to security concerns: containerd/containerd#9048 |
I suppose if we want auto-detection, kernel versions won't do. We'll have to check by trying out the |
I already do feature-checking in tokio-epoll-uring, just need to turn it into a public API |
PR is out: #7120 |
…ly requested (#7120) fixes #7116 Changes: - refactor PageServerConfigBuilder: support not-set values - implement runtime feature test - use runtime feature test to determine `virtual_file_io_engine` if not explicitly configured in the config - log the effective engine at startup - drive-by: improve assertion messages in `test_pageserver_init_node_id` This needed a tiny bit of tokio-epoll-uring work, hence bumping it. Changelog: ``` git log --no-decorate --oneline --reverse 868d2c42b5d54ca82fead6e8f2f233b69a540d3e..342ddd197a060a8354e8f11f4d12994419fff939 c7a74c6 Bump mio from 0.8.8 to 0.8.11 4df3466 Bump mio from 0.8.8 to 0.8.11 (#47) 342ddd1 lifecycle: expose `LaunchResult` enum (#49) ```
Steps to reproduce
Run page server on
Docker for macOSOrbStack. io_uring cannot be used. Page server starts normally, and will only error when new tenants are attached.Probably it would be good to run some quick kernel version checks before deciding to use io_uring backend by default.
Expected result
Error at an early stage or automatically regress to std fs backend.
Actual result
Environment
Logs, links
The text was updated successfully, but these errors were encountered: