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

Swaminathan Balachandran updated HDDS-11603:
--------------------------------------------
    Description: 
We have implemented the key reference check for snapshots in multiple places in 
different manner for snapshot garbage collection. There is a need to 
consolidate this reference check in one central place in order to avoid bugs 
and for better debuggability & for making the whole garbage collection more 
modular than it is. Currently the Garbage collection code is tightly coupled 
with snapshots, making it really tough for people to understand. We should move 
this code out to a different module making the garbage collection flow more 
readable.
To keep the patch size limited, the classes added are not used by any of the 
flows. I would be creating a follow up patches on top of this change.

> Reclaimable Filter for Snapshots garbage reclaimation
> -----------------------------------------------------
>
>                 Key: HDDS-11603
>                 URL: https://issues.apache.org/jira/browse/HDDS-11603
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Swaminathan Balachandran
>            Priority: Major
>              Labels: pull-request-available
>
> We have implemented the key reference check for snapshots in multiple places 
> in different manner for snapshot garbage collection. There is a need to 
> consolidate this reference check in one central place in order to avoid bugs 
> and for better debuggability & for making the whole garbage collection more 
> modular than it is. Currently the Garbage collection code is tightly coupled 
> with snapshots, making it really tough for people to understand. We should 
> move this code out to a different module making the garbage collection flow 
> more readable.
> To keep the patch size limited, the classes added are not used by any of the 
> flows. I would be creating a follow up patches on top of this change.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to