You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Kaijie Chen (Jira)" <ji...@apache.org> on 2022/03/02 17:09:00 UTC

[jira] [Updated] (HDDS-6400) EC: Reuse code to write parity in close and retry

     [ https://issues.apache.org/jira/browse/HDDS-6400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaijie Chen updated HDDS-6400:
------------------------------
    Summary: EC: Reuse code to write parity in close and retry  (was: EC: Refactor ECKeyOutputStream)

> EC: Reuse code to write parity in close and retry
> -------------------------------------------------
>
>                 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:
>  # Remove isFullCell argument in handleDataWrite()
>  # Move checkAndWriteParityCells() inside handleDataWrite()
>  # Change checkAndWriteParityCells() to encodeAndWriteParityCells()
>  # Support partial stripe in encodeAndWriteParityCells()
>  # Update acked position in handleParityWrites()
>  # Seperate generateParityCells() from handleParityWrites()
>  # Reuse handleParityWrites() in rewriteStripeToNewBlockGroup()
>  # Remove parityCellSize argument in handleParityWrites()



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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