ChenXi created HDDS-8421:
----------------------------

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


In the FilePerBlockStrategy#writeChunk will generate twice IO process. 
- The first is to check whether the write operation is an overwrite, will check 
whether the chunk file is exist (ChunkUtils#verifyChunkFileExists).
- The second is write Chunk, will open file and write file.

Those two IO operation can merge to once. just need to check whether is 
overwrite after open file and before write Chunk



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