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

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

[~sumitagrawl] Since the deletion in SCM HA needs to go through Ratis to ensure 
reliability, I am doubting the direct update in Approach 1. I am not sure if 
there is any other mechanism to let them go through Ratis but not use the TXN 
buffer. 

So basically, I have similar opinions to [~erose] 

> DN do not remove blocks for deleted content
> -------------------------------------------
>
>                 Key: HDDS-7483
>                 URL: https://issues.apache.org/jira/browse/HDDS-7483
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Sumit Agrawal
>            Assignee: Sumit Agrawal
>            Priority: Major
>
> When delete directory and files is performed, its not deleted in local disk 
> of DN.
>  
>  # SCM keeps transaction information in buffer and commits to DB after a set 
> of transaction (like 10,000)
>  # DeleteBlockService on SCM gets information from rocks DB and its not 
> available as its present in buffer, so delete list size is empty
> This may needs resolve to delete blocks from DN if its already ready for 
> deletion.
>  



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