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

fix(shared): allow reading of buckets from other regions #3180

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

blacha
Copy link
Member

@blacha blacha commented Mar 12, 2024

Motivation

We have buckets in multiple regions, when requesting data using the default client it will throw a 301 moved error rather than fetching the data from the bucket.

If we know the region ahead of time we should create new s3 clients for those regions to save the request -> failure -> retry flow.

Modification

Retry bucket reads when reading across region

Checklist

If not applicable, provide explanation of why.

  • Tests updated
  • Docs updated
  • Issue linked in Title

@blacha blacha changed the title fix(shared): allow reading of buckets from other regions' fix(shared): allow reading of buckets from other regions Mar 12, 2024
@blacha blacha marked this pull request as ready for review March 12, 2024 03:06
@blacha blacha requested a review from a team as a code owner March 12, 2024 03:06
@blacha blacha added this pull request to the merge queue Mar 12, 2024
Merged via the queue into master with commit fd02b68 Mar 12, 2024
11 checks passed
@blacha blacha deleted the fix/default-index-html branch March 12, 2024 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants