Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-19.1: changefeedccl: improve retryable error whitelisting #37092

Merged
merged 2 commits into from
May 6, 2019

Conversation

danhhz
Copy link
Contributor

@danhhz danhhz commented Apr 24, 2019

Backport:

Please see individual PRs for details.

/cc @cockroachdb/release

Targeting 19.1.1

For a while, the cdc/crdb-chaos and cdc/sink-chaos roachtests have been
failing because an error that should be marked as retryable wasn't. As a
result of the discussion in cockroachdb#35974, I tried switching from a whitelist
(retryable error) to a blacklist (terminal error) in cockroachdb#36132, but on
reflection this doesn't seem like a great idea. We added a safety net to
prevent false negatives from retrying indefinitely but it was
immediately apparent that this meant we needed to tune the retry loop
parameters. Better is to just do the due diligence of investigating the
errors that should be retried and retrying them.

The commit is intended for backport into 19.1 once it's baked for a bit.

Closes cockroachdb#35974
Closes cockroachdb#36018
Closes cockroachdb#36019
Closes cockroachdb#36432

Release note (bug fix): `CHANGEFEED` now retry instead of erroring in
more situations
@danhhz danhhz requested review from tbg, nvanbenschoten and a team April 24, 2019 20:12
@cockroach-teamcity
Copy link
Member

This change is Reviewable

The `%v` and `%+v` were switched from what I intended in the line that
logs retryable errors and the one that handles non-retryable errors.

Release note: None
@danhhz danhhz force-pushed the backport19.1-36852-37030 branch from cdd0659 to 3501024 Compare May 6, 2019 16:01
@danhhz
Copy link
Contributor Author

danhhz commented May 6, 2019

TFTR!

@danhhz danhhz merged commit 16b13ad into cockroachdb:release-19.1 May 6, 2019
@danhhz danhhz deleted the backport19.1-36852-37030 branch May 6, 2019 16:42
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.

3 participants