You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2020/04/02 06:25: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 ]

Bharat Viswanadham updated HDDS-3325:
-------------------------------------
    Component/s: Ozone Manager
                 HA

> 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
>
> Right now, when the future fails with an exception, we send that exception to the client, and retry with a new server if NotLeader, 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