-
Notifications
You must be signed in to change notification settings - Fork 458
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
pageserver: remove legacy read path #8601
Conversation
2108 tests run: 2039 passed, 0 failed, 69 skipped (full report)Code coverage* (full report)
* collected from Rust tests only The comment gets automatically updated with the latest test results
87e3c1e at 2024-08-05T11:59:19.024Z :recycle: |
The vectored read path does not support this at the moment
2a1564b
to
2891818
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. It seems that we didn't remove read path configurations like DEFAULT_GET_IMPL
in this pull request? I assume there will be a follow up PR to completely remove them later.
As a note, I think it would be useful to move and keep the the tests in Also, it might be useful to eventually remove the |
Yes, I will do the configs in a follow-up |
## Problem We have been maintaining two read paths (legacy and vectored) for a while now. The legacy read-path was only used for cross validation in some tests. ## Summary of changes * Tweak all tests that were using the legacy read path to use the vectored read path instead * Remove the read path dispatching based on the pageserver configs * Remove the legacy read path code We will be able to remove the single blob io code in `pageserver/src/tenant/blob_io.rs` when #7386 is complete. Closes #8005
It has been virtuall unused since #8601
## Problem Pageserver exposes some vectored get related configs which are not in use. ## Summary of changes Remove the following pageserver configs: get_impl, get_vectored_impl, and `validate_get_vectored`. They are not used in the pageserver since #8601. Manual overrides have been removed from the aws repo in neondatabase/infra#1664.
…global` As of commit "pageserver: remove legacy read path" (#8601) we always use vectored get, which has a separate metric.
Problem
We have been maintaining two read paths (legacy and vectored) for a while now. The legacy read-path
was only used for cross validation in some tests.
Summary of changes
We will be able to remove the single blob io code in
pageserver/src/tenant/blob_io.rs
when#7386 is complete.
Closes #8005
Checklist before requesting a review
Checklist before merging