Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4773

Leverage smart download retries from pax-url-aether 2.5.0

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.7
    • Fix Version/s: 4.1.0, 4.0.8
    • Component/s: karaf
    • Labels:
      None

      Description

      https://ops4j1.jira.com/browse/PAXURL-337 adds smart mechanism for consecutive download/resolution attempts.

      For example, if org.ops4j.pax.url.mvn.repositories defines 10 repositories and 9 of them return HTTP 404 and 10th repository gives us "socket timeout", additional resolution attempt doesn't have to check those 9 repositories.

      Also AbstractRetryableDownloadTask uses (by default) 9 retries. Even if this may be configured, retry task was designed for such problems as timeouts, or temporary unavailability of e.g., mvn: protocol handler. Using 9 attempts (with exponentially increasing delay) is not the right way to handle simple ArtifactNotFoundException...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gzres Grzegorz Grzybek
                Reporter:
                gzres Grzegorz Grzybek
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: