[
https://issues.apache.org/jira/browse/HDDS-6358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaijie Chen updated HDDS-6358:
------------------------------
Description:
Refactor the code to make it cleaner, here is a summary of the changes.
# Instead of treating {{head/middle/tail}} differently, use a general way to
write data into buffers.
# No more {{allocateBlockIfNeeded}} parameters being passed around.
# Stream will be closed if any exception happens, and {{IOException}} will be
thrown.
was:
There are too many allocateBlockIfNeeded arguments passing around in current EC
Key write path.
Refactor the code to make it cleaner and similar to KeyOutputStream.
> EC: Refactor ECKeyOutputStream#write()
> --------------------------------------
>
> Key: HDDS-6358
> URL: https://issues.apache.org/jira/browse/HDDS-6358
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Kaijie Chen
> Assignee: Kaijie Chen
> Priority: Major
> Labels: pull-request-available
>
> Refactor the code to make it cleaner, here is a summary of the changes.
> # Instead of treating {{head/middle/tail}} differently, use a general way to
> write data into buffers.
> # No more {{allocateBlockIfNeeded}} parameters being passed around.
> # Stream will be closed if any exception happens, and {{IOException}} will
> be thrown.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]