[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to