[ 
https://issues.apache.org/jira/browse/HDDS-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDDS-3325:
--------------------------------
    Target Version/s: 0.6.0
              Labels: TriagePending  (was: )

> Handle Resource Unavailable exception in OM HA
> ----------------------------------------------
>
>                 Key: HDDS-3325
>                 URL: https://issues.apache.org/jira/browse/HDDS-3325
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: HA, Ozone Manager
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: TriagePending
>
> Right now, when the future fails with an exception, we send that exception to 
> the client, and retry with a new server. but when using ratis server when 
> resource unavailable exception future fails with exceptionally. So, in this 
> case we need to wrap the exception and retry to the same server with some 
> retry policy like MultiLinearRandomRetry or some retry policy.
> {code:java}
> try {
>  raftClientReply = server.submitClientRequestAsync(raftClientRequest)
>           .get();
>     } catch (Exception ex) {
>       throw new ServiceException(ex.getMessage(), ex);
>     }
> {code}



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