neils-dev commented on PR #3741:
URL: https://github.com/apache/ozone/pull/3741#issuecomment-1470805278

   @errose28 , we've raised a ticket on an issue we found while performing end 
to end tests with Container Delete with `V3 Schema Rocks db`,   
https://issues.apache.org/jira/browse/HDDS-8173 .
   
   On container delete processed by the KeyValueHandler.deleteInternal and 
handled by the `KeyValueContainerUtil.removeContainer`, the rocksdb V3 entries 
for the container are not cleared.  After container delete the container 
metadata and chunks directories are deleted however rocksdb V3 container table 
entries are not removed. 
   
   Within the filed ticket for that issue a Test is included (patch to 
`TestContainerPersistence`) can be used to verify the behavior rocksdb V3 
container delete behavior.  
https://issues.apache.org/jira/secure/attachment/13056380/rocksDBContainerDelete.diff
   
   `Schema V2` rocksdb should be unaffected as there is a rocksDB per 
container.  On container delete, the rocksDB is moved to the tmp directory 
along with the container metadata and chunks directory and deleted.
   


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