You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2026/09/22 10:40:00 UTC

[jira] [Resolved] (HDDS-16421) Close the stream's block file when a request is rejected on the stream

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

Stephen O'Donnell resolved HDDS-16421.
--------------------------------------
    Fix Version/s: 2.3.0
       Resolution: Fixed

> Close the stream's block file when a request is rejected on the stream
> ----------------------------------------------------------------------
>
>                 Key: HDDS-16421
>                 URL: https://issues.apache.org/jira/browse/HDDS-16421
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Datanode
>    Affects Versions: 2.2.1
>            Reporter: Sergey Soldatov
>            Assignee: Sergey Soldatov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.3.0
>
>
>  readBlockImpl reports an out of range offset with StreamObserver.onError, which ends the call from the datanode side. GrpcXceiverService closes the stream's RandomAccessFileChannel only when the client completes the stream or a request throws, so the block file stayed open. 



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