-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Implement failIfAlreadyExists in S3 repositories #133030
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f3c380d
Implement failIfAlreadyExists in S3 repositories
kvanerum 35d427c
Test failIfAlreadyExists for concurrent writes
kvanerum 3d54119
Disable testFailIfAlreadyExists for HdfsRepositoryTests
kvanerum 8e8f3e7
Fix race in S3HttpHandler overwrite protection
kvanerum 3c2c833
Replace `failIfAlreadyExists` variable with inline `randomBoolean` in…
kvanerum c1974ad
Don't remove uploads when precondition failed on S3 completeMultipart…
kvanerum 4c479f4
Test failIfAlreadyExists in S3BlobStoreRepositoryTests with multipart…
kvanerum a903309
Merge branch 'main' into s3-failIfAlreadyExists
kvanerum ad360ca
Cleanup
kvanerum cef778c
Merge branch 'main' into 0reviews/2025/09/01/kvanerum/s3-failIfAlread…
DaveCTurner 6979fbe
Add changelog
DaveCTurner 9c860cd
Inline failIfAlreadyExists in executeMultipartCopy
kvanerum b5c0088
Throw error on multiple If-None-Match headers in S3HttpHandler
kvanerum 75a91cf
Refactor S3HttpHandlerTests to simplify task creation with helper met…
kvanerum c975a60
Use constant for safe await timeout in S3HttpHandlerTests
kvanerum 249e8bb
Improve readability in AbstractThirdPartyRepositoryTestCase.testFailI…
kvanerum 884dcc8
Simplify copy object logic in S3HttpHandler by removing unused precon…
kvanerum a839a47
Merge branch 'main' into s3-failIfAlreadyExists
kvanerum 419f4ab
Merge branch 'main' into s3-failIfAlreadyExists
DaveCTurner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 133030 | ||
summary: Implement `failIfAlreadyExists` in S3 repositories | ||
area: Snapshot/Restore | ||
type: enhancement | ||
issues: | ||
- 128565 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This parameter is always
false
(in production code anyway) and thetrue
case isn't really tested - I'd rather we inlined it, passing the literalfalse
toexecuteMultipart
, instead.