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

ASF GitHub Bot updated HDDS-17765:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>              Labels: pull-request-available
>
> 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]

Reply via email to