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 2026/10/02 16:01:00 UTC
[jira] [Updated] (HDDS-16323) StreamBlockInputStream: refill the pre-read window in bulk instead of once per response
[ https://issues.apache.org/jira/browse/HDDS-16323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze updated HDDS-16323:
------------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
The pull request is now merged. Thanks [~ssa]!
> StreamBlockInputStream: refill the pre-read window in bulk instead of once per response
> ---------------------------------------------------------------------------------------
>
> Key: HDDS-16323
> URL: https://issues.apache.org/jira/browse/HDDS-16323
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: Ozone Client
> Affects Versions: 2.2.1
> Reporter: Sergey Soldatov
> Assignee: Sergey Soldatov
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> When streaming block reads are enabled, the client sends a new ReadBlock request after almost every response, even though it has already requested a large pre-read window.
> With the default settings, this can mean one extra request for each 1 MiB response during a sequential read. Each request makes the datanode repeat request processing and block metadata lookup work, increasing CPU use and slowing large downloads.
> The client should avoid these unnecessary top-up requests while it still has enough data already requested.
--
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