You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siddharth Wagle (Jira)" <ji...@apache.org> on 2021/10/08 18:58:00 UTC

[jira] [Assigned] (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 ]

Siddharth Wagle reassigned HDDS-3325:
-------------------------------------

    Assignee: Ritesh H Shukla  (was: Bharat Viswanadham)

> Handle Resource Unavailable exception in OM HA
> ----------------------------------------------
>
>                 Key: HDDS-3325
>                 URL: https://issues.apache.org/jira/browse/HDDS-3325
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: OM HA, Ozone Manager
>            Reporter: Bharat Viswanadham
>            Assignee: Ritesh H Shukla
>            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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org