Tsz-wo Sze created HDDS-17684:
---------------------------------

             Summary: For under-construction blocks, bound reads to the hsync'd 
length.
                 Key: HDDS-17684
                 URL: https://issues.apache.org/jira/browse/HDDS-17684
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: Ozone Client
            Reporter: Tsz-wo Sze


Claude:
Reads. BlockInputStream reads up to the OM block length, except for an 
under-construction (hsync'd) block, where it uses the length from whichever 
datanode answers (blockData.getSize()). A reader may then see bytes that were 
not all-acked. We must bound such reads to the hsync'd length.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to