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

Add support for S3 conditional writes #23149

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Aug 28, 2024

This allows implementing exclusive write that will ensure that the next putObject won't override existing file.

This makes all three major cloud storage filesystem implementations support createExclusive

Description

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@wendigo
Copy link
Contributor Author

wendigo commented Aug 28, 2024

Extracted from #23145

@wendigo wendigo force-pushed the serafin/s3-exclusive-write-support branch 2 times, most recently from bf9d7e6 to 1a8551c Compare August 28, 2024 11:49
@wendigo
Copy link
Contributor Author

wendigo commented Aug 28, 2024

@nineinchnick i've added exclusive create to local filesystem too. Now all the implementations support it which is a powerful primitive to have :)

@wendigo wendigo force-pushed the serafin/s3-exclusive-write-support branch 3 times, most recently from cb84ec5 to e098dae Compare August 28, 2024 14:58
@wendigo wendigo requested a review from electrum August 28, 2024 14:59
This allows implementing exclusive write that will ensure that
the next putObject won't override existing file.
@wendigo wendigo force-pushed the serafin/s3-exclusive-write-support branch from e098dae to 63041ff Compare August 28, 2024 16:24
@github-actions github-actions bot added the docs label Aug 28, 2024
@wendigo wendigo requested review from dain and losipiuk August 29, 2024 00:15
@wendigo wendigo force-pushed the serafin/s3-exclusive-write-support branch from 63041ff to 356d345 Compare August 29, 2024 11:10
It added conditional write support
@wendigo wendigo merged commit 1fcb194 into master Aug 29, 2024
73 checks passed
@wendigo wendigo deleted the serafin/s3-exclusive-write-support branch August 29, 2024 13:01
@github-actions github-actions bot added this to the 455 milestone Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants