Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13211

Swift driver should have a configurable retry feature when ecounter 5xx error

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.2
    • None
    • fs/swift
    • None

    Description

      In current code. if Swift driver meets a HTTP 5xx, it will throw exception and stop. As a driver, it will be more sophisticate if it can retry a configurable times before report failure. There are two reasons that I can image:

      1. if the server is really busy, it is possible that the server will drop some requests to avoid DDoS attack.

      2. If server accidentally unavailable for a short period of time and come back again, we may not need to fail the whole driver. Just record the exception and retry may be more flexible.

      Attachments

        Activity

          People

            Unassigned Unassigned
            airbots Chen He
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: