You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/06/01 21:42:00 UTC

[jira] [Updated] (HDDS-3325) Handle Resource Unavailable exception in OM HA

     [ 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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org