Chung-En Lee created HDDS-15886:
-----------------------------------

             Summary: Client unable to read newly synced data due to outdated 
block length
                 Key: HDDS-15886
                 URL: https://issues.apache.org/jira/browse/HDDS-15886
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Chung-En Lee


*Issue:* During active writes using {{{}hsync{}}}, the actual block length on 
the storage node keeps increasing. However, the client-side read stream only 
uses a static block length cached at the beginning.

Because this cached length is never updated, the reader prematurely assumes it 
has reached the end of the file (EOF) and fails to read any newly synced data. 
See `MultiPartInputStream#readWithStrategy`.

*Expected Behavior:* The read stream should dynamically refresh or query the 
latest block length when {{hsync}} is active, ensuring all synced data is fully 
readable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to