[
https://issues.apache.org/jira/browse/HDDS-16421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-16421:
----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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]