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

Stow makes too many API, also fails to list buckets in other regions #227

Open
svyotov opened this issue Nov 27, 2019 · 0 comments
Open

Comments

@svyotov
Copy link

svyotov commented Nov 27, 2019

Issues detected in this section of the code:

  • Stow makes too many API calls to AWS when listing buckets
  • Stow assumes that the bucket region filter is the same with the authentication region (does not return the full list of buckets, but this is a bug, because if the region is not specified at all stow fails to authenticate to AWS, which means the user cannot retrieve all the buckets )
  • Over complicated code, that probably should be moved to a function. This is also duplicated in the Container(..) function.
    https://github.com/graymeta/stow/blob/926777b8f7aaf9b57d475c612baebb0968532c48/s3/location.go#L104-L125
@svyotov svyotov changed the title Stow makes too many API calls to AWS when listing buckets Stow makes too many API, also fails to list buckets in other regions Nov 27, 2019
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

No branches or pull requests

1 participant