shuan1026 commented on code in PR #11293:
URL: https://github.com/apache/ozone/pull/11293#discussion_r4247707616


##########
hadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto:
##########
@@ -1241,6 +1269,9 @@ message KeyInfo {
   // This allows a key to be created an committed atomically if the original 
has not
   // been modified.
     optional uint64 expectedDataGeneration = 22;
+    optional uint64 retentionDate = 23;
+    optional RetentionConfig retentionConfig = 24;
+    optional bool legalHold = 25 [default = false];

Review Comment:
   Against OEP 16f4074, key-level lock state is now a single nested message:
   
   ```protobuf
   optional Retention retention = 23;
   optional bool legalHold = 24 [default = false];
   
   message Retention {
     required RetentionMode retentionMode = 1;
     optional string retentionDate = 2;  // OEP; see type note below
     optional EventHold eventHold = 3;
   }
   ```
   



-- 
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]

Reply via email to