[ 
https://issues.apache.org/jira/browse/HDDS-7445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17683195#comment-17683195
 ] 

Xu Shao Hong commented on HDDS-7445:
------------------------------------

Hi [~erose], could you have a quick review at 
[https://github.com/apache/ozone/pull/3876|https://github.com/apache/ozone/pull/3876,]

The idea to solve the issue is to directly compare the blocks on disk and 
records in RDB when full data scan(7-day interval I remember). 

The main function would be 
[KeyValueContainerCheck.java#|https://github.com/apache/ozone/pull/3876/files#diff-0bb7ff61647049f370de7b0b986e955d38d2c9739d6100e1dd724ef267075af3]scanOrphanChunksAndDelete.

If this fix could basically meet the request, I could move on to discuss what 
needs to be concerned and refine it. If someone else would like to take it, I 
am also fine to transfer it.

> Orphan block cleanup
> --------------------
>
>                 Key: HDDS-7445
>                 URL: https://issues.apache.org/jira/browse/HDDS-7445
>             Project: Apache Ozone
>          Issue Type: New Feature
>            Reporter: Xu Shao Hong
>            Priority: Major
>             Fix For: 1.3.0
>
>
> This Jira aims to solve the orphan chunks/blocks left in the ozone cluster. 
> The source of orphan blocks could come from different cases. I have collected 
> most of the cases and you could see the link. 
> https://docs.google.com/document/d/1Oi1zPKdmvA7DFwIcUWz6zw_p-pY3D1L76gyV37jQT94/edit#



--
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