Skip to content

persistedsqlstats: add WithCancelOnQuiesce to MaybeFlushWithDrainer#160403

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
kyle-a-wong:fix_159467
Jan 12, 2026
Merged

persistedsqlstats: add WithCancelOnQuiesce to MaybeFlushWithDrainer#160403
craig[bot] merged 1 commit intocockroachdb:masterfrom
kyle-a-wong:fix_159467

Conversation

@kyle-a-wong
Copy link
Copy Markdown
Contributor

use context from stopper.WithCancelOnQuiesce(ctx) to prevent slow slow quiesce during shutdown

Epic: None
Fixes: #159467
Release note: None

use context from stopper.WithCancelOnQuiesce(ctx) to prevent slow
slow quiesce during shutdown

Epic: None
Fixes: cockroachdb#159467
Release note: None
@kyle-a-wong kyle-a-wong requested a review from a team as a code owner January 2, 2026 18:43
@kyle-a-wong kyle-a-wong requested review from alyshanjahani-crl and removed request for a team January 2, 2026 18:43
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Jan 2, 2026

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
Collaborator

@alyshanjahani-crl alyshanjahani-crl left a comment

Choose a reason for hiding this comment

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

Nice, coincidentally i found a similar issue just yesterday #160656

@kyle-a-wong
Copy link
Copy Markdown
Contributor Author

tftr!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jan 12, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(PersistedSQLStats).MaybeFlushWithDrainer seems to cause a slow quiesce

3 participants