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

Handle Resource Unavailable exception in OM HA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • OM HA, Ozone Manager

    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

            kerneltime Ritesh H Shukla
            bharat Bharat Viswanadham
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: