Chung-En Lee created HDDS-17923:
-----------------------------------

             Summary: Streaming read handles a stream permit timeout as a 
datanode failure
                 Key: HDDS-17923
                 URL: https://issues.apache.org/jira/browse/HDDS-17923
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: Ozone Client
            Reporter: Chung-En Lee
            Assignee: Chung-En Lee


HDDS-17767 added a per-client limit on open block streams 
({{ozone.client.stream.read.max-concurrent-streams}}). When no permit is free 
within {{ozone.client.stream.read.timeout}}, 
{{XceiverClientGrpc#acquireStreamPermit}} throws {{TimeoutIOException}}.

{{StreamBlockInputStream}} handles every {{TimeoutIOException}} as a 
datanode-side read failure ({{handleExceptions}}, {{handlePreadException}}): it 
uses up one read retry and refreshes the block's pipeline and token from OM.

A permit timeout is told apart from a datanode timeout. It should not refresh 
the block or be handled as a datanode failure.



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