Skip to content

backupccl: fix occassional TestRestoreErrorPropagates flake#98878

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
adityamaru:flake-fix-TestRestoreErrorPropagates
Mar 22, 2023
Merged

backupccl: fix occassional TestRestoreErrorPropagates flake#98878
craig[bot] merged 1 commit intocockroachdb:masterfrom
adityamaru:flake-fix-TestRestoreErrorPropagates

Conversation

@adityamaru
Copy link
Copy Markdown
Contributor

Very rarely under stress race another automatic job would race with the restore and increment the error count. This would result in the count being greater than our expected value of 1. This disables all the automatic jobs eliminating the chance of this race.

Fixes: #98037

Release note: None

@adityamaru adityamaru requested a review from msbutler March 17, 2023 19:06
@adityamaru adityamaru requested a review from a team as a code owner March 17, 2023 19:06
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@stevendanna stevendanna left a comment

Choose a reason for hiding this comment

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

LGTM. There is also the new job stats job. Do we need to do anything to prevent that jpb from starting?

@adityamaru adityamaru force-pushed the flake-fix-TestRestoreErrorPropagates branch from 12c7da8 to ac1707b Compare March 22, 2023 13:31
@adityamaru adityamaru added the backport-23.1.x PAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request only label Mar 22, 2023
Very rarely under stress race another automatic job would
race with the restore and increment the error count. This would
result in the count being greater than our expected value of 1.
This disables all the automatic jobs eliminating the chance of this
race.

Fixes: cockroachdb#98037

Release note: None
@adityamaru adityamaru force-pushed the flake-fix-TestRestoreErrorPropagates branch from ac1707b to f8557fc Compare March 22, 2023 14:50
@adityamaru
Copy link
Copy Markdown
Contributor Author

bors r=stevendanna

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 22, 2023

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 22, 2023

Build succeeded:

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

Labels

backport-23.1.x PAST MAINTENANCE SUPPORT: 23.1 patch releases via ER request only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ccl/backupccl: TestRestoreErrorPropagates failed

3 participants