sodonnel commented on PR #6613:
URL: https://github.com/apache/ozone/pull/6613#issuecomment-3481875773

   > The server always reads at least 1MB (not 16kb, not 4kb) for each onNext() 
calls.
   
   That is not how it works in the current production code. I traced it, and 
attempting to read a block with `hadoop fs -get` shows Ozone attempting to read 
in 4kb chunks, which get rounded up to the checksum boundary and it returns 
16kb at a time. The point of the checksum change from 1MB -> 16kb by default 
was to allow for smaller reads, so we don't want to constrain it to be required 
to return 1MB at a time.


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