swamirishi opened a new pull request, #8055: URL: https://github.com/apache/ozone/pull/8055
## What changes were proposed in this pull request? 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. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12562 ## How was this patch tested? Unit test -- 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]
