Swaminathan Balachandran created HDDS-12562:
-----------------------------------------------
Summary: Reclaimable Directory entry filter for reclaiming deleted
directory entries
Key: HDDS-12562
URL: https://issues.apache.org/jira/browse/HDDS-12562
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Swaminathan Balachandran
Assignee: Swaminathan Balachandran
Currently deleted directory entries are reclaimed by just peeking into the
previous snapshot without taking locks and the subdirectories and sub keys are
never removed from the active om's directoryTable & fileTable. Whenever we are
processing these deletes locks should be taken before deleting so that these
don't work on inconsistent data.
As part of this patch we implement ReclaimableDirectoryFilter which extends
abstract class ReclaimableFilter and check whether this directory entry
corresponding to the object exists in the previous snapshot's directory table.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]