Skip to content
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

Do not attach deleted tenants #5008

Merged
merged 5 commits into from
Aug 17, 2023
Merged

Conversation

LizardWizzard
Copy link
Contributor

@LizardWizzard LizardWizzard commented Aug 16, 2023

Rather temporary solution before proper:
#5006

It requires more plumbing so lets not attach deleted tenants first and then implement resume.

Additionally update assert_prefix_empty to match introduced pageserver suffix.

Resolves #5016

@LizardWizzard LizardWizzard changed the title Do not attach deleted tenants. Do not attach deleted tenants Aug 16, 2023
@github-actions
Copy link

github-actions bot commented Aug 16, 2023

1608 tests run: 1535 passed, 0 failed, 73 skipped (full report)


The comment gets automatically updated with the latest test results
9a7bf79 at 2023-08-17T10:24:06.620Z :recycle:

Rather temporary solution before proper:
#5006

it requires more plumbing so lets not attach deleted tenants first and
then implement resume.
@LizardWizzard LizardWizzard force-pushed the dkr/do-not-attach-deleted-tenants branch from d6a3b00 to 2da0e6a Compare August 16, 2023 20:13
@LizardWizzard
Copy link
Contributor Author

assert_prefix_empty had a buggy prefix calculation, and since we always asserted for absence of stuff it worked. Here I started to assert for presence of stuff too and it failed. Added more "presence" asserts to other places to be confident that it works.

@LizardWizzard LizardWizzard force-pushed the dkr/do-not-attach-deleted-tenants branch from aa8eb19 to 9a7bf79 Compare August 17, 2023 09:56
@LizardWizzard LizardWizzard marked this pull request as ready for review August 17, 2023 10:45
@LizardWizzard LizardWizzard requested review from a team as code owners August 17, 2023 10:45
@LizardWizzard LizardWizzard requested review from awestover and removed request for a team August 17, 2023 10:45
@LizardWizzard LizardWizzard merged commit d8b0a29 into main Aug 17, 2023
28 checks passed
@LizardWizzard LizardWizzard deleted the dkr/do-not-attach-deleted-tenants branch August 17, 2023 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dont attach deleted tenants (simple fix before proper resume on attach)
3 participants