You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Uma Maheswara Rao G (Jira)" <ji...@apache.org> on 2022/04/29 21:00:00 UTC

[jira] [Comment Edited] (HDDS-6400) EC: Refactor ECKeyOutputStream for better code reuse

    [ https://issues.apache.org/jira/browse/HDDS-6400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530244#comment-17530244 ] 

Uma Maheswara Rao G edited comment on HDDS-6400 at 4/29/22 8:59 PM:
--------------------------------------------------------------------

I noticed the current PR closed. When you get free time, you may want to resubmit on master. Thanks

Sorry for delay on this due to merge tasks.


was (Author: umamaheswararao):
I noticed the current PR closed. When you get free time, you may want to resubmit on master. Thanks

> EC: Refactor ECKeyOutputStream for better code reuse
> ----------------------------------------------------
>
>                 Key: HDDS-6400
>                 URL: https://issues.apache.org/jira/browse/HDDS-6400
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Kaijie Chen
>            Assignee: Kaijie Chen
>            Priority: Major
>              Labels: pull-request-available
>
> Refactor ECKeyOutputStream to make the code cleaner.
> Reuse code when writing the last stripe or rewriting failed stripes.
> The changes includes:
>  # handleDataWrite() has been changed to handleWrite(),
> it will check strip full and call encodeAndWriteParityCells().
>  # checkAndWriteParityCells() has been changed to encodeAndWriteParityCells(),
> and it can be reused to encode partial stripe in close().
>  # handleParityWrites() has seperated generateParityCells(),
> it can be reused in rewriteStripeToNewBlockGroup().
>  # handleFailedStreams() has been changed to excludePipelineAndFailedDN(),
> it will exclude both failed pipeline and failed datanodes.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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