jojochuang commented on PR #10764:
URL: https://github.com/apache/ozone/pull/10764#issuecomment-4977279000

   ## Bugbot review
   
   **Stream checksum verify misaligns chunks** — 
`hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/StreamBlockInputStream.java:638-677`
 · Severity: high
   
   With `checksumVerify` enabled (the default), `verifyChecksumForReadBlock` 
verifies each chunk overlap without expanding to per-chunk checksum boundaries 
or indexing into each chunk's stored checksum list. After a prefix of 
non-checksum-aligned chunks, block-offset alignment can still land inside a 
chunk mid-checksum-unit, so verification compares freshly computed checksums 
against the wrong stored entries and stream reads fail with 
`OzoneChecksumException`.
   
   ---
   Generated-by: Cursor Bugbot


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