Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
In RetryInvocationHandler, when the method invocation fails, we reply on FailoverProxyProvider to performFailover and get a new proxy, so that we can retry the method invocation.
However, the performFailover and get new proxy itself might fail (throw exception or return null proxy). This is not handled properly currently, we end up throwing the exception out of the while loop. Instead, we should catch the exception (or check for null proxy) and retry performFailover again, until the max fail over count reaches the maximum.