Skip to content

Conversation

@tbg
Copy link
Member

@tbg tbg commented Oct 27, 2025

Backport 1/1 commits from #156288 on behalf of @tbg.


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 #156138.

Epic: none


Release justification:

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
@tbg tbg requested a review from a team as a code owner October 27, 2025 18:22
@tbg tbg force-pushed the blathers/backport-release-25.4-156288 branch from 056be1e to 68e44d1 Compare October 27, 2025 18:22
@blathers-crl blathers-crl bot added blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. labels Oct 27, 2025
@blathers-crl
Copy link

blathers-crl bot commented Oct 27, 2025

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl bot requested review from arulajmani and pav-kv October 27, 2025 18:22
@blathers-crl blathers-crl bot added backport Label PR's that are backports to older release branches T-kv KV Team labels Oct 27, 2025
@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

backport Label PR's that are backports to older release branches blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. T-kv KV Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants