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

Bucket locking #7

Open
Foxcapades opened this issue Apr 29, 2022 · 0 comments
Open

Bucket locking #7

Foxcapades opened this issue Apr 29, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Foxcapades
Copy link
Member

Foxcapades commented Apr 29, 2022

There should be an available feature to lock buckets in a few different ways to help prevent race conditions.

As we (VEuPathDB) intend to follow a "one app, one bucket" rule, this will prevent race conditions for us by default.

For general use this will need to be well documented as for the feature to work, all users of a single bucket will need to follow the same locking rules. Maybe have a default setting using lock files, and allow consumers to change it?

Locks needed:

  • write - writes blocked, reads okay
  • read-write - reads and writes blocked

Usage of this feature will require the bucket to have holds/locks enabled, and the client will need the s3:PutObjectLegalHold permission

@Foxcapades Foxcapades added the enhancement New feature or request label Apr 29, 2022
@Foxcapades Foxcapades added this to the v1.0.0 milestone Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant