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

S3Client usage might fail due to race condition #12

Open
sagihirshfeld opened this issue Feb 4, 2024 · 0 comments
Open

S3Client usage might fail due to race condition #12

sagihirshfeld opened this issue Feb 4, 2024 · 0 comments

Comments

@sagihirshfeld
Copy link
Contributor

Currently we're not waiting via sleep nor do we validate that certain S3 operations have succeeded, which might result in unexpected failures due to a race condition.

For example, using S3Client.delete_bucket() right after S3Client.delete_all_objects_in_bucket() might fail due to a BucketNotEmpty if the objects were not deleted in time.

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