[ https://issues.apache.org/jira/browse/HDDS-3271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17067551#comment-17067551 ]
mingchao zhao edited comment on HDDS-3271 at 3/26/20, 10:36 AM: ---------------------------------------------------------------- Hi [~msingh] Thank you for your discussion. >The SCM maintains a log of deletes blocks and deletes them after the container >is closed. By testing, I found that after closing the container, the block is actually removed. I found that ozone has a configuration ozone.block.deleting.service.interval (default 60sec).It's going to be executed every minute. It is true that block will be remove [when the container is closed|https://github.com/apache/hadoop-ozone/blob/c8f14a560beb9a83c7d98388614a5ba36d7638f6/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/DatanodeDeletedBlockTransactions.java#L66]. was (Author: micahzhao): Hi [~msingh] Thank you for your discussion. >The SCM maintains a log of deletes blocks and deletes them after the container >is closed. By testing, I found that after closing the container, the block is actually removed. Except when the container is closed, there is any other strategies for timed deletion? I found that ozone has a configuration ozone.block.deleting.service.interval (default 60sec).This should be deleted every minute, but it does not take effect. > The block file is not deleted after the key is deleted > ------------------------------------------------------ > > Key: HDDS-3271 > URL: https://issues.apache.org/jira/browse/HDDS-3271 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Reporter: mingchao zhao > Priority: Major > Attachments: image-2020-03-25-11-41-26-972.png > > > When I successfully deleted the key, I was still able to see the block file > in the chunk directory. Block files are not deleted altogether. > !image-2020-03-25-11-41-26-972.png|width=1169,height=143! > This may be an existing bug, and I will confirm the reason. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org