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

Changed create_all to try to get bucket first and create if one does not... #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eprikazc
Copy link

Changed create_all to try to get bucket first and create if one does not exist

Motivation: conn.create_bucket call is throwing TooManyBuckets exception if the limit on number of buckets is reached. As a result, create_all fails with the error, even when bucket already exists. Example error msg:

TooManyBucketsYou have attempted to create more buckets than allowed10128F97B871F391694tGKxl+TWdARLsieHOgZ+JHQ7fuzptOmzYe3diF8c8tmOeBoRRXqIRXOmpJEOhFHl3Gl31QUPtCc=100

@eriktaubeneck
Copy link
Collaborator

See the discussion here on using recursive=True. Also, see if this fixes the problem when they exist.

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.

2 participants