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-22.1: cloud/gcp: add custom retryer for gcs storage, retry on stream INTERN… #85482

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

rhu713
Copy link
Contributor

@rhu713 rhu713 commented Aug 2, 2022

…AL_ERROR

Currently, errors like
stream error: stream ID <x>; INTERNAL_ERROR; received from peer
are not being retried. Create a custom retryer to retry these errors as
suggested by:

googleapis/google-cloud-go#3735
googleapis/google-cloud-go#784

Fixes: #85217, #85216, #85204, #84162

Release note: None

Release note (enterprise change): retry google cloud requests that error with
stream error: INTERNAL_ERROR.

Release justification: add retries for temporary errors that were causing
roachtests to fail.

@rhu713 rhu713 requested a review from a team August 2, 2022 18:00
@rhu713 rhu713 requested a review from a team as a code owner August 2, 2022 18:00
@rhu713 rhu713 requested a review from msbutler August 2, 2022 18:00
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rhu713 rhu713 requested a review from adityamaru August 2, 2022 18:01
@adityamaru
Copy link
Contributor

CI looks broken, but otherwise LGTM.

@adityamaru
Copy link
Contributor

nit: can we edit the title to be prefixed with release-22.1:

nit: can we add a release justification since this is a backport

…AL_ERROR

Currently, errors like
`stream error: stream ID <x>; INTERNAL_ERROR; received from peer`
are not being retried. Create a custom retryer to retry these errors as
suggested by:

googleapis/google-cloud-go#3735
googleapis/google-cloud-go#784

Fixes: cockroachdb#85217, cockroachdb#85216, cockroachdb#85204, cockroachdb#84162

Release note: None

Release justification: add retries for temporary errors that were causing
roachtests to fail.
@rhu713 rhu713 changed the title cloud/gcp: add custom retryer for gcs storage, retry on stream INTERN… release-22.1: cloud/gcp: add custom retryer for gcs storage, retry on stream INTERN… Aug 9, 2022
@rhu713 rhu713 merged commit e8a6797 into cockroachdb:release-22.1 Aug 9, 2022
@rhu713 rhu713 deleted the backport22.1-85024 branch August 9, 2022 18:51
@adityamaru
Copy link
Contributor

adityamaru commented Aug 9, 2022

@rhu713 sorry I forgot to mention during the review but this should have a release note so that users facing the error during restore can confirm it has been resolved in the next release. cc: @kathancox incase the related docs issue isn't auto opened

@rhu713
Copy link
Contributor Author

rhu713 commented Aug 9, 2022

Just added a release note to the PR, but it won't be part of the commit message.

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