Hanisha Koneru created HDDS-5872:
------------------------------------

             Summary: Do not failover on some RpcExceptions
                 Key: HDDS-5872
                 URL: https://issues.apache.org/jira/browse/HDDS-5872
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Hanisha Koneru
            Assignee: Hanisha Koneru


When OMFailoverProxy encounters an RpcException, we should check if a failover 
or retry is required or not.

For example, if the response length exceeds ipc.maximum.response.length on one 
OM, it will exceed the limit on all OMs. So we do not need to do a retry or 
failover.

If there is an RpcNoSuchMethodException, RpcNoSuchProtocolException or 
VersionMismatch Exception etc. on only 1 OM and not of others, it could lead to 
state divergence between the OMs. So it would be better to fail the request 
than to retry on other nodes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to