[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to