Skip to content

sql: ensure GC tenant removes system span configurations#77492

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
arulajmani:76931-cleanup-system-span-configs
Mar 8, 2022
Merged

sql: ensure GC tenant removes system span configurations#77492
craig[bot] merged 1 commit intocockroachdb:masterfrom
arulajmani:76931-cleanup-system-span-configs

Conversation

@arulajmani
Copy link
Copy Markdown
Collaborator

This patch ensures that when a tenant is removed, all system span
configurations installed by it are also deleted from KV. This is in
addition to removing all tenant reconciled span configurations that
already happens. The patch adds a test to check for the latter as
well.

Fixes #76931

Release justification: bug fixes and low risk updates to new
functionality
Release note: None

@arulajmani arulajmani requested a review from a team as a code owner March 8, 2022 15:50
@arulajmani arulajmani requested a review from a team March 8, 2022 15:50
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

This patch ensures that when a tenant is removed, all system span
configurations installed by it are also deleted from KV. This is in
addition to removing all tenant reconciled span configurations that
already happens. The patch adds  a test to check for the latter as
well.

Fixes cockroachdb#76931

Release justification: bug fixes and low risk updates to new
functionality
Release note: None
@arulajmani arulajmani force-pushed the 76931-cleanup-system-span-configs branch from dad7876 to 719e950 Compare March 8, 2022 17:52
@arulajmani
Copy link
Copy Markdown
Collaborator Author

TFTRs!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 8, 2022

Build succeeded:

@craig craig bot merged commit 2321403 into cockroachdb:master Mar 8, 2022
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.

spanconfig: cleanup system span configs that apply to a tenant when GC-ing it

4 participants