Skip to content

blob/s3blob: add support for conditional writes #3518

Open
@SoMuchForSubtlety

Description

Is your feature request related to a problem? Please describe.

S3 recently added support for conditional writes1 by setting the If-None-Match or If-Match headers. This is great for managing concurrent operations.

Describe the solution you'd like

Exposing this option through the standard API would be great

Describe alternatives you've considered

GCS also supports request preconditions2. If-None-Match and ifSourceGenerationMatch could be mapped to a common API, but this will only cover a subset of the possible use cases.

Footnotes

  1. https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-s3-functionality-conditional-writes/

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions