xichen01 opened a new pull request, #4570: URL: https://github.com/apache/ozone/pull/4570
## What changes were proposed in this pull request? 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 ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8421 ## How was this patch tested? unit test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
