Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3325

Handle Resource Unavailable exception in OM HA

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: OM HA, Ozone Manager
    • Labels:
    • Target Version/s:

      Description

      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.

      try {
       raftClientReply = server.submitClientRequestAsync(raftClientRequest)
                .get();
          } catch (Exception ex) {
            throw new ServiceException(ex.getMessage(), ex);
          }
      

        Attachments

          Activity

            People

            • Assignee:
              bharat Bharat Viswanadham
              Reporter:
              bharat Bharat Viswanadham
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: