Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-293

ExponentialDelay overflow prevention can be made every 64 attempt, not 32

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2.5
    • 1.2.4
    • None
    • None

    Description

      The ExponentialDelay every 32 attempt overflow prevention due to bitshift operator is incomplete.
      The bitshift operation is part of the problem, but the operand is actually an int, which makes this problem manifest every 32 attempt where it could manifest every 64 attempt, allowing for a larger upper limit (Long.MAX_VALUE, up to 64 attempts).

      Attachments

        Issue Links

          Activity

            People

              simonbasle Simon Baslé (Inactive)
              simonbasle Simon Baslé (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty