Skip to content

Conversation

blathers-crl[bot]
Copy link

@blathers-crl blathers-crl bot commented Oct 3, 2025

Backport 1/1 commits from #154654 on behalf of @kev-cao.


The current TestRestoreCheckpointing waits for job progress to be updated by sleeping for a duration greater than the checkpoint interval. While this works the vast majority of the time, if the test cluster is overloaded, it is not sufficient and we can end up resuming the job before the progress was updated. This results in more spans being processed than expected.

This commit updates the test to instead check the contents of the job progress checkpoint and wait until the checkpoint contains all processed spans from before the pause.

Fixes: #153848

Release note: None


Release justification:

The current `TestRestoreCheckpointing` waits for job progress to be
updated by sleeping for a duration greater than the checkpoint interval.
While this works the vast majority of the time, if the test cluster is
overloaded, it is not sufficient and we can end up resuming the job
before the progress was updated. This results in more spans being
processed than expected.

This commit updates the test to instead check the contents of the job
progress checkpoint and wait until the checkpoint contains all processed
spans from before the pause.

Fixes: #153848

Release note: None
@blathers-crl blathers-crl bot force-pushed the blathers/backport-release-25.3-154654 branch from bf00721 to 35e69eb Compare October 3, 2025 16:55
@blathers-crl blathers-crl bot added blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. labels Oct 3, 2025
@blathers-crl blathers-crl bot requested a review from a team as a code owner October 3, 2025 16:55
@blathers-crl blathers-crl bot requested review from jeffswenson and msbutler and removed request for a team October 3, 2025 16:55
Copy link
Author

blathers-crl bot commented Oct 3, 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 added backport Label PR's that are backports to older release branches T-disaster-recovery labels Oct 3, 2025
@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 backport-failed blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. T-disaster-recovery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants