Skip to content

roachtest/tests/cdc: effectively disable exponential backoff in jobs#69034

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
ajwerner:ajwerner/fix-chaos-due-to-backoff
Aug 17, 2021
Merged

roachtest/tests/cdc: effectively disable exponential backoff in jobs#69034
craig[bot] merged 1 commit intocockroachdb:masterfrom
ajwerner:ajwerner/fix-chaos-due-to-backoff

Conversation

@ajwerner
Copy link
Copy Markdown
Contributor

Fixes #68963.

Release note: None

@ajwerner ajwerner requested a review from a team as a code owner August 17, 2021 13:28
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown

@sajjadrizvi sajjadrizvi left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

Copy link
Copy Markdown

@sajjadrizvi sajjadrizvi left a comment

Choose a reason for hiding this comment

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

Sorry for commenting after approving. It just occurred to me that if we want to disable backoff, why not set both initial delay and max delay to longer than test timeout, e.g., a minute?

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@ajwerner
Copy link
Copy Markdown
Contributor Author

It just occurred to me that if we want to disable backoff, why not set both initial delay and max delay to longer than test timeout, e.g., a minute?

I don't understand. Can you explain how this would help fix this test which is broken because the job is not being resumed in a timely manner in the face of chaos?

Copy link
Copy Markdown

@sajjadrizvi sajjadrizvi left a comment

Choose a reason for hiding this comment

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

The title says "... effectively disable exponential backoff", so I thought we want to disable retries completely.

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

Copy link
Copy Markdown
Contributor Author

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

The title says "... effectively disable exponential backoff", so I thought we want to disable retries completely.

It does not say disable retries, it says disable backoff.

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@ajwerner
Copy link
Copy Markdown
Contributor Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Aug 17, 2021

Build succeeded:

@craig craig bot merged commit 5d2c91c into cockroachdb:master Aug 17, 2021
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.

roachtest: cdc/crdb-chaos failed

4 participants