Tsz-wo Sze created HDDS-13975:
---------------------------------
Summary: 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
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 reply L bytes
of data;
- change the response to support multiple checksums;
- support pre-read;
- change the datanode to open the block file when opening the gRPC stream and
close the file when closing the 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]