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 08:54:00 UTC

[jira] [Created] (HDDS-6400) EC: Refactor ECKeyOutputStream

Kaijie Chen created HDDS-6400:
---------------------------------

             Summary: EC: Refactor ECKeyOutputStream
                 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


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 encode from handleParityWrites()
 # Reuse handleParityWrites() in rewriteStripeToNewBlockGroup()



--
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