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
storage controller: tech debt #7165
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jcsp
added
c/storage/pageserver
Component: storage: pageserver
a/tech_debt
Area: related to tech debt
c/storage/controller
Component: Storage Controller
and removed
c/storage/pageserver
Component: storage: pageserver
labels
Mar 18, 2024
2706 tests run: 2574 passed, 0 failed, 132 skipped (full report)Code coverage* (full report)
* collected from Rust tests only The comment gets automatically updated with the latest test results
f6c776f at 2024-03-19T13:25:50.717Z :recycle: |
arpad-m
approved these changes
Mar 18, 2024
jcsp
force-pushed
the
jcsp/monday-tech-debt
branch
from
March 18, 2024 16:35
5cc5c92
to
dce19c5
Compare
5 tasks
arpad-m
approved these changes
Mar 19, 2024
jcsp
force-pushed
the
jcsp/monday-tech-debt
branch
from
March 19, 2024 12:41
adbb536
to
f6c776f
Compare
jcsp
added a commit
that referenced
this pull request
Mar 21, 2024
Stacks on: - #7165 Fixes while working on background optimization of scheduling after a split: - When a tenant has secondary locations, we weren't detaching the parent shards' secondary locations when doing a split - When a reconciler detaches a location, it was feeding back a locationconf with `Detached` mode in its `observed` object, whereas it should omit that location. This could cause the background reconcile task to keep kicking off no-op reconcilers forever (harmless but annoying). - During shard split, we were scheduling secondary locations for the child shards, but no reconcile was run for these until the next time the background reconcile task ran. Creating these ASAP is useful, because they'll be used shortly after a shard split as the destination locations for migrating the new shards to different nodes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a mixed bag of changes split out for separate review while working on other things, and batched together to reduce load on CI runners. Each commits stands alone for review purposes:
Single
placement policy was a redundant duplicate of Double(0), and Double was a bad name. Rename it Attached. (storage controller: remove 'Single' policy and rename Double #7107)storcon-cli
#7114 ). Even though that's not merged yet, we don't need the neon_local ones any more.Closes #7107
Backward compat of Single/Double ->
Attached(n)
changeThere are no prod sharded tenants yet: when this merges I will fix up staging databases by hand (it's a one-liner). It's not worth carrying backward compatibility deserialization code for this.
Checklist before requesting a review
Checklist before merging