kaijchen opened a new pull request #3151: URL: https://github.com/apache/ozone/pull/3151
## What changes were proposed in this pull request? Refactor ECKeyOutputStream to make the code cleaner. Reuse code when writing the last stripe or rewriting failed stripes. The changes includes: 1. Remove isFullCell argument in handleDataWrite() 2. Move checkAndWriteParityCells() inside handleDataWrite() 3. Change checkAndWriteParityCells() to encodeAndWriteParityCells() 4. Support partial stripe in encodeAndWriteParityCells() 5. Update acked position in handleParityWrites() 6. Seperate encode from handleParityWrites() 7. Reuse handleParityWrites() in rewriteStripeToNewBlockGroup() ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-6400 ## How was this patch tested? CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
