You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "neils-dev (via GitHub)" <gi...@apache.org> on 2023/03/15 20:37:07 UTC
[GitHub] [ozone] neils-dev commented on pull request #3741: HDDS-6449. Failed container delete can leave artifacts on disk
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org