Skip to content

Conversation

@tbg
Copy link
Member

@tbg tbg commented Oct 27, 2025

Epic: CRDB-55052

tbg added 2 commits October 27, 2025 17:03
The `statsLoop` could still be running. In the linked test flake below, we see
it call `(*pebble).GetMetrics` when the engines are already closed.

Rearrange the code so that we wait for `statsLoop` to terminate properly before exiting the test.

Closes cockroachdb#156138.

Epic: none
@blathers-crl
Copy link

blathers-crl bot commented Oct 27, 2025

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
Member

This change is Reviewable

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.

2 participants