errose28 commented on PR #6385:
URL: https://github.com/apache/ozone/pull/6385#issuecomment-2013951931

   > As I first read your comment, I thought maybe I can cut this down to just 
checking the objectID
   
   Actually I'm thinking we can just check the update ID to determine if the 
key changed. The case where object ID alone would be useful is if only a key's 
native ACLs were updated and we wanted to disregard this change. However, I 
think we want this API to preserve native ACLs in the original key. This makes 
it consistent with Ranger ACLs which will remain the same as long as the key is 
re-rewritten to the same location.
   
   > but I think the append / hsync thing changes the picture slightly, needing 
the update ID to be checked too if we want to ensure there are no changes.
   
   I don't think a key with an open lease being hsync'ed should be eligible for 
overwrite. I think this overwrite case is already blocked by existing hsync 
changes on the feature branch but we should double check to make sure we don't 
have issues later. I believe append will require an OM side update every time 
it is called, so yes that should increment the update ID.


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