Skip to content

Implement atomic conditional puts for azureblob-sdk#902

Merged
gaul merged 2 commits intogaul:masterfrom
klaudworks:add-atomic-conditional-puts-for-azure
Oct 13, 2025
Merged

Implement atomic conditional puts for azureblob-sdk#902
gaul merged 2 commits intogaul:masterfrom
klaudworks:add-atomic-conditional-puts-for-azure

Conversation

@klaudworks
Copy link
Contributor

This PR implements atomic conditional put operations for the azureblob-sdk provider as discussed in #894 (comment).

I kept the non-conditional put logic for all other providers. Whether we return 501 Not Implemented or do a non-conditional put, it both requires checking the Blobstore Type in the S3ProxyHandler and adding conditional logic.

@klaudworks
Copy link
Contributor Author

I addressed the comments and added fixups for proper method chaining in PutOptions2.
I also used JavaBean naming e.g. setIfMatch and setIfNoneMatch to be consistent with the chainable setters in jclouds PutOptions.

@gaul gaul merged commit 2265053 into gaul:master Oct 13, 2025
3 checks passed
@gaul
Copy link
Owner

gaul commented Oct 13, 2025

Thank you for your contribution @klaudworks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants