You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ChenXi (Jira)" <ji...@apache.org> on 2023/06/02 11:55:00 UTC

[jira] [Created] (HDDS-8748) Reduce DN IO times when deleteChunk (FilePerBlockStrategy)

ChenXi created HDDS-8748:
----------------------------

             Summary: Reduce DN IO times when deleteChunk (FilePerBlockStrategy)
                 Key: HDDS-8748
                 URL: https://issues.apache.org/jira/browse/HDDS-8748
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone Datanode
            Reporter: ChenXi
            Assignee: ChenXi


When deleting a file, DN will check whether the  Block file to be deleted exists or not in the `FilePerBlockStrategy#deleteChunk`. 
This step of checking for the existence of a Block file can be omitted, and basically does not change the behavior of `FilePerBlockStrategy#deleteChunk`. 
This can reduce the IO-times of `FilePerBlockStrategy#deleteChunk`



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org