You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2025/12/01 16:43:00 UTC

[jira] [Resolved] (HDDS-13975) Limit the number of responses in stream read block

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

Tsz-wo Sze resolved HDDS-13975.
-------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

The pull request is now merged.

> 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
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org