Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Right now for all other exceptions other than serviceException we use FailOverOnNetworkException.
This Exception policy is created with 15 max fail overs and 15 retries.
retryPolicyOnNetworkException.shouldRetry( exception, retries, failovers, isIdempotentOrAtMostOnce);
2 issues with this:
- When shouldRetry returns action FAILOVER_AND_RETRY, it will stuck with same OM, and does not perform failover to next OM. As OMFailoverProxyProvider#performFailover() is a dummy call does not perform any failover.
- When ozone.client.failover.max.attempts is set to 15, now with 2 policies with each set to 15, we will retry 15*2 times in worst scenario.
Attachments
Issue Links
- links to