Skip to content

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