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

release-22.2: storage: fix TestPebbleMetricEventListener #96686

Conversation

jbowens
Copy link
Collaborator

@jbowens jbowens commented Feb 6, 2023

Backport of #96651.


In #96096 handling of disk slow events was made asynchronous. This introduced a race during Close where the goroutine logging could still be inflight.

Fix #96638.
Epic: None
Release note: None
Release justification: low-risk changes to deflake a unit test

In cockroachdb#96096 handling of disk slow events was made asynchronous. This introduced a
race during Close where the goroutine logging could still be inflight.

Fix cockroachdb#96638.
Epic: None
Release note: None
@jbowens jbowens requested a review from a team as a code owner February 6, 2023 21:18
@jbowens jbowens requested a review from RaduBerinde February 6, 2023 21:18
@blathers-crl
Copy link

blathers-crl bot commented Feb 6, 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.

@jbowens jbowens changed the title storage: fix TestPebbleMetricEventListener release-22.2: storage: fix TestPebbleMetricEventListener Feb 6, 2023
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jbowens jbowens requested a review from itsbilal February 6, 2023 21:18
@jbowens
Copy link
Collaborator Author

jbowens commented Feb 7, 2023

tftr!

@jbowens jbowens merged commit 7cdf538 into cockroachdb:release-22.2 Feb 7, 2023
@jbowens jbowens deleted the 22.2-deflake-TestPebbleMetricEventListener branch February 7, 2023 01:44
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.

3 participants