Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-835

Include exception based attempt count in raft client request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • client
    • None

    Description

      Client needs to maintain exception based attempt count for using Exception Dependent retry policy. Exception dependent policy helps in specifying individual policies for different exception types.

      Currently policy takes number of attempts as argument. Therefore the individual policies require attempt counts for the particular exception while handling retry event. This is particularly important for using MulipleLinearRandomRetry policy which increases sleep interval based on number of attempts made by the client. Raft Client can therefore use this policy for ResourceUnavailableException and increase sleep interval for subsequent retries of the request on the same exception.

      Attachments

        1. RATIS-835.004.patch
          22 kB
          Lokesh Jain
        2. RATIS-835.003.patch
          22 kB
          Lokesh Jain
        3. RATIS-835.002.patch
          24 kB
          Lokesh Jain
        4. RATIS-835.001.patch
          23 kB
          Lokesh Jain

        Issue Links

          Activity

            People

              ljain Lokesh Jain
              ljain Lokesh Jain
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: