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

Preconditions for deletion / writing in GCS #184

Open
jonasfj opened this issue Nov 6, 2024 · 0 comments
Open

Preconditions for deletion / writing in GCS #184

jonasfj opened this issue Nov 6, 2024 · 0 comments
Labels
contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) package:gcloud type-enhancement A request for a change that isn't a bug

Comments

@jonasfj
Copy link
Member

jonasfj commented Nov 6, 2024

See:
https://cloud.google.com/storage/docs/request-preconditions

I think ifGenerationMatch and ifMetagenerationMatch would be extremely useful for optimistic concurrency.

Given that these can probably just be optional parameters, there is no reason this change should be breaking (unless someone is reimplementing the API package:gcloud offers).

@jonasfj jonasfj added type-enhancement A request for a change that isn't a bug contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) package:gcloud labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) package:gcloud type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

1 participant