[ 
https://issues.apache.org/jira/browse/HDDS-13975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze updated HDDS-13975:
------------------------------
    Description: 
In 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 JIRA,
- 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.

  was:
In 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 JIRA,
- add required length L to the request and then the datanode only replies L 
bytes of data;
- change a single response to support multiple checksums;
- support pre-read;
- change the datanode to open and close the block file only once per a gRPC 
stream.


> Limit the number of responses in stream read block
> --------------------------------------------------
>
>                 Key: HDDS-13975
>                 URL: https://issues.apache.org/jira/browse/HDDS-13975
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Client, Ozone Datanode
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>
> In 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 JIRA,
> - 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.



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