Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7588

Make the fetcher number of retries configurable.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      The Mesos fetcher relies on CURL for downloading images. In the event of transient errors, the fetcher currently does not retry as the default curl value for retry is 0. From the curl docs:

      If a transient error is returned when curl tries to perform a transfer, it will retry this number of times before giving up. Setting the number to 0 makes curl do no retries (which is the default). Transient error means either: a timeout, an FTP 4xx response code or an HTTP 5xx response code.
      

      It would be useful to add a fetcher flag to fetcher_num_retries or something similar to configure the number of retries made by CURL. As a workaround for now, users would need to add this to the root user's curlrc file since the fetcher is run as root.

      Attachments

        Activity

          People

            Unassigned Unassigned
            anandmazumdar Anand Mazumdar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: