F64116045 opened a new pull request, #12215:
URL: https://github.com/apache/ozone/pull/12215
## What changes were proposed in this pull request?
Implement `PUT /{bucket}?object-lock` for existing OBS buckets and expose
the same operation through the Ozone Java client. The request enables Object
Lock and sets or clears the bucket's default retention using the metadata
models introduced in #11293. Clearing the rule keeps Object Lock enabled.
- Limit the XML request body to 64 KiB and validate its structure in S3
Gateway.
- Check authorization in OM and verify the optional expected bucket owner
under the bucket write lock before persisting the configuration.
## What is the link to the Apache Jira?
https://issues.apache.org/jira/browse/HDDS-16487
## How was this patch tested?
Unit and integration tests.
https://github.com/F64116045/ozone/actions/runs/46687259978
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]