smengcl commented on PR #6495:
URL: https://github.com/apache/ozone/pull/6495#issuecomment-2046658939

   > We should not delete them directly from openKeyTable here. Direct delete 
will result in blocks not released, causing orphan blocks. We can mark these 
hsynced open key delectable, and modify openKeyCleanupService to delete these 
keys and release the blocks.
   
   Good point.
   
   A simple solution could be to update `deletedKey` with the up-to-date block 
list from the open key before putting is to `deletedTable`?


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