[
https://issues.apache.org/jira/browse/HDDS-17765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Soldatov reassigned HDDS-17765:
--------------------------------------
Assignee: Sergey Soldatov
> StreamBlockInputStream keeps rethrowing a stale failure after retries are
> exhausted
> -----------------------------------------------------------------------------------
>
> Key: HDDS-17765
> URL: https://issues.apache.org/jira/browse/HDDS-17765
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Datanode
> Affects Versions: 2.2.2
> Reporter: Sergey Soldatov
> Assignee: Sergey Soldatov
> Priority: Major
>
> With the stream readblock enabled when
> {{StreamBlockInputStream.handleExceptions()}} gives up (retries exhausted, or
> a non-retriable error), it throws but keeps the failed {{StreamingReader}}.
> The next {{read()}} on the same stream reuses the dead reader, and
> {{checkError()}} rethrows the old failure on every call until {{unbuffer()}}
> or {{close()}}. The excluded datanodes and the used retry budget are also
> kept, so even a fresh stream starts with fewer replicas and retries.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]