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

   ## What changes were proposed in this pull request?
   
   In [HDDS-13973](https://issues.apache.org/jira/browse/HDDS-13973), the 
client sends a single stream read block request and the datanode will reply the 
entire block in multiple responses. However, the client may read only a part of 
the block or read slowly. In such cases, the datanode will queue up all the 
block data in the gRPC layer.
   
   In this PR, we
   - add required length L to the request and then the datanode only replies L 
bytes of data;
   - support multiple checksums in a single response;
   - support pre-read;
   - change the datanode to open and close the block file only once per gRPC 
stream.
   
   ## What is the link to the Apache JIRA
   
   HDDS-13975
   
   ## How was this patch tested?
   
   Adding new tests.


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