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

Reply via email to