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

cchenaxchen commented on HDDS-5220:
-----------------------------------

yes,I think your idea is well,but datanode scanner may execute once a 
week,because of the containers are too much.If we delete the data,but we delete 
the metadata throws the exception,when we read the data,it may cause error.

> when datanode delete the data,first delete metadata,then delete chunk files
> ---------------------------------------------------------------------------
>
>                 Key: HDDS-5220
>                 URL: https://issues.apache.org/jira/browse/HDDS-5220
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: cchenaxchen
>            Assignee: cchenaxchen
>            Priority: Major
>              Labels: pull-request-available
>
> when use datanode scanner scan the container,the checksum bases on Rocksdb 
> metadata to find the chunk file on disk,but when datanode delete 
> data,datanode should delete metadata first,the delete chunk file,in order to 
> avoid when chunk file was deleted,but the metadata can not be modified,the 
> datanode scanner scan the datanode will mark this container unhealthy.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to