8000 cloud/amazon: retry errors during s3 bucket region lookup by rhu713 · Pull Request #79974 · cockroachdb/cockroach · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cloud/amazon: retry errors during s3 bucket region lookup #79974

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

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

rhu713
Copy link
Contributor
@rhu713 rhu713 commented Apr 14, 2022

Currently errors encountered during s3 bucket region lookup is swallowed. If
there is an error during this step then a client is created with an empty
region, which will then issue invalid requests with an empty region. This
patch fixes the bug.

Fixes #79435

Release note: None

@rhu713 rhu713 requested review from a team and msbutler and removed request for a team April 14, 2022 21:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator
@msbutler msbutler left a comment

Choose a reason for hiding this comment

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

LGTM

@msbutler
Copy link
Collaborator

might be worth backporting this to 22.1, 21.x ?

@rhu713 rhu713 requested a review from a team as a code owner April 15, 2022 16:45
@rhu713 rhu713 requested review from miretskiy and removed request for a team April 15, 2022 16:45
Currently errors encountered during s3 bucket region lookup is swallowed. If
there is an error during this step then a client is created with an empty
region, which will then issue invalid requests with an empty region. This
patch fixes the bug.

Fixes cockroachdb#79435

Release note: None
@rhu713
Copy link
Contributor Author
rhu713 commented Apr 20, 2022

bors r+

@craig
Copy link
Contributor
craig bot commented Apr 20, 2022

Build succeeded:

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.

cloud/amazon: perpetual backup error "failed to get s3 object: MissingRegion: could not find region configuration"
3 participants
0