Skip to content

server: unregister metric registry for in-process tenants#98529

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
aadityasondhi:20230313.unregister-tenant-registry
Mar 15, 2023
Merged

server: unregister metric registry for in-process tenants#98529
craig[bot] merged 1 commit intocockroachdb:masterfrom
aadityasondhi:20230313.unregister-tenant-registry

Conversation

@aadityasondhi
Copy link
Copy Markdown
Contributor

As a follow up to #97889, this patch adds a function to unregister a tenant's metric registry when it is stopped.

Fixes #98100.

Release note: None

As a follow up to cockroachdb#97889, this patch adds a function to unregister a
tenant's metric registry when it is stopped.

Fixes cockroachdb#98100.

Release note: None
@aadityasondhi aadityasondhi requested review from a team, andreimatei and dhartunian March 13, 2023 20:53
@aadityasondhi aadityasondhi requested review from a team as code owners March 13, 2023 20:53
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Mar 13, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@abarganier abarganier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm: , thanks

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andreimatei and @dhartunian)

Copy link
Copy Markdown
Contributor

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 2 of 0 LGTMs obtained (waiting on @dhartunian)

@aadityasondhi
Copy link
Copy Markdown
Contributor Author

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 15, 2023

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 15, 2023

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 15, 2023

Build succeeded:

@craig craig bot merged commit bb2fe25 into cockroachdb:master Mar 15, 2023
@aadityasondhi aadityasondhi deleted the 20230313.unregister-tenant-registry branch March 31, 2023 02: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.

server: a shared-process tenant's metrics registry is not unregistered on ALTER TENANT x STOP SERVICE

4 participants