F64116045 commented on code in PR #12215:
URL: https://github.com/apache/ozone/pull/12215#discussion_r4812142747
##########
hadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto:
##########
@@ -1131,6 +1134,20 @@ message SetBucketPropertyResponse {
optional bool response = 1;
}
+message SetBucketObjectLockConfigRequest {
+ required string volumeName = 1;
+ required string bucketName = 2;
+ optional bool objectLockEnabled = 3 [default = true];
+ optional BucketRetention defaultRetention = 4;
+ // Populated by the OM leader before the request is submitted to Ratis.
+ optional uint64 bucketObjectId = 5;
+ optional uint64 modificationTime = 6;
+ optional string expectedBucketOwner = 7;
+}
Review Comment:
Dropped objectLockEnabled in
[174bacec4d](https://github.com/apache/ozone/commit/174bacec4d3beea037e388a1f510f7bcd38a8d5c).
Removed expectedBucketOwner when I moved the owner check to S3G in
[16f9fa3e76](https://github.com/apache/ozone/commit/16f9fa3e76a5e882bf101e52d1ef8ae435de6d1a).
--
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]