[ 
https://issues.apache.org/jira/browse/HDDS-12562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang resolved HDDS-12562.
------------------------------------
    Fix Version/s: 2.1.0
       Resolution: Fixed

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.1.0
>
>
> 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: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to