ChenSammi commented on PR #11053:
URL: https://github.com/apache/ozone/pull/11053#issuecomment-6940638797

   @chungen0126 , thanks for updating the design. Here are some thoughts after 
going through the latest version,
   
   - For compliance mode setting, it's better to allow the owner to set/extend, 
and limit to ozone administrator to shorten/remove it, which will be more 
aligned with AWS behavior. I remember I had a different comment before to limit 
to ozone administrator only for all compliance mode operations. But a second 
thought, and the from compatibility point, allow owner to set/extend compliance 
is more compatible with AWS behavior.
   - For compliance shorten/removal, it's now can be done by any Ozone 
administrator, the protection is weaker than an offline tool which requires the 
user to be not only Ozone administrator, but the user who starts OM or root. Do 
you think we can add one more protection on top of ozone administrator, such as 
introduce a boolean property, for example, 
"ozone.om.object.lock.compliance.reduce.enabled" default "false", so that most 
of time Ozone administrator cannot reduce the compliance duration too? 
   - HDDS-17054 is merged now. 
   - Can we rename TimeUnit to RetentionTimeUnit to make it more clear? 
   
   The rest parts looks good to me. 


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