devabhishekpal opened a new pull request, #7401: URL: https://github.com/apache/ozone/pull/7401
## What changes were proposed in this pull request? HDDS-11475: Verify EC reconstruction correctness Please describe your PR in detail: * In current implementation the stripe checksum is formed in ECKeyOutputStream in `private StripeWriteStatus commitStripeWrite(ECChunkBuffers stripe)` * To verify the recreated data we can use the stripe checksum - which is a concatenation of all the chunk checksums in the stripe and compare the recreated chunk checksum with the stripe checksum at recreated index to verify the correct data was recreated ``` Example, for EC 3-2 we will have chunks c1, c2, c3, c4, c5 (stripe checksum) s1 = add checksum of(c1 to c5) Let recreated chunk be c2 Then: checksum(c2) == 2nd checksum in s1 checksum sequence ``` ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-11475 ## How was this patch tested? Unit tests -- 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]
