jojochuang opened a new pull request, #11499:
URL: https://github.com/apache/ozone/pull/11499

   ## Summary
   
   - Fix `BaseFileChecksumHelper#makeCompositeCrcResult` to walk block checksum 
bytes with a cursor and skip blocks that contribute no composite CRC bytes 
(same approach as 
[HDFS-17992](https://issues.apache.org/jira/browse/HDFS-17992)).
   - Skip zero-length blocks with no chunk metadata instead of failing checksum 
collection early.
   - Tolerate empty block checksums in debug logging for COMPOSITE_CRC mode.
   - Add unit tests for replicated and EC layouts covering empty blocks at the 
end, in the middle, and on zero-length keys.
   
   ## Jira
   
   https://issues.apache.org/jira/browse/HDDS-16834
   
   ## Test plan
   
   - [x] `mvn -pl :ozone-client test -Dtest=TestFileChecksumHelper -DskipShade 
-DskipRecon -DskipDocs`
   - [x] `./hadoop-ozone/dev-support/checks/checkstyle.sh`
   
   Generated-by: Cursor (Auto)
   
   Made with [Cursor](https://cursor.com)


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

Reply via email to