-
Notifications
You must be signed in to change notification settings - Fork 485
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_client::mgmt_api
: use TenantShardId instead of TenantId
#6154
Labels
c/storage/pageserver
Component: storage: pageserver
m/good_first_issue
Moment: when doing your first Neon contributions
Comments
problame
added
c/storage/pageserver
Component: storage: pageserver
m/good_first_issue
Moment: when doing your first Neon contributions
labels
Dec 15, 2023
problame
added a commit
that referenced
this issue
Dec 15, 2023
Part of getpage@lsn benchmark epic: #5771 This PR moves the control plane's spread-all-over-the-place client for the pageserver management API into a separate module within the pageserver crate. I need that client to be async in my benchmarking work, so, this PR switches to the async version of `reqwest`. That is also the right direction generally IMO. The switch to async in turn mandated converting most of the `control_plane/` code to async. Note that some of the client methods should be taking `TenantShardId` instead of `TenantId`, but, none of the callers seem to be sharding-aware. Leaving that for another time: #6154
I'd like to have a try on this! |
@ScottLinnn most of these are updated in #6251, but if you would like to open a PR to update them all in one commit, that would be cleaner, so feel free. |
Thanks for letting me know! I'd prefer looking at other issues. |
5 tasks
jcsp
added a commit
that referenced
this issue
Apr 4, 2024
## Problem The API client was written around the same time as some of the server APIs changed from TenantId to TenantShardId Closes: #6154 ## Summary of changes - Refactor mgmt_api timeline_info and keyspace methods to use TenantShardId to match the server This doesn't make pagebench sharding aware, but it paves the way to do so later.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
c/storage/pageserver
Component: storage: pageserver
m/good_first_issue
Moment: when doing your first Neon contributions
Originally posted by @problame in #6127 (comment)
The text was updated successfully, but these errors were encountered: