hanishakoneru opened a new pull request #2772: URL: https://github.com/apache/ozone/pull/2772
## What changes were proposed in this pull request? 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. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-5872 ## How was this patch tested? Tested on a pseudo cluster -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
