Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6674

@Retry with jitter = 0 generates error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2
    • Safeguard_1.2.1
    • Safeguard
    • Security Level: public (Regular issues)
    • Regression

    Description

      If you use @Retry(jitter = 0) an error will be generated.

      On the following line :

      https://github.com/apache/geronimo-safeguard/blob/0ecf05a7c65450112805dbb6cadba155c8bd4a7c/safeguard-impl/src/main/java/org/apache/safeguard/impl/retry/BaseRetryInterceptor.java#L198

      jitter = 0 is invalid value. There has to be check for that.

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            Bondzhev Doychin Bondzhev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: