Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3279

Fix a bug in retry_max_delay (NodeJS)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.3
    • Node.js - Library
    • None
    • Patch Available
    • Patch

    Description

      The current max delay is unstable - when retry_delay == retry_max_delay the second branch is taken, and retry_delay is set to retry_max_delay * retry_backoff, which is larger than retry_max_delay.

      This causes an oscillation between retry_max_delay and retry_max_delay * retry_backoff.

      Attachments

        Activity

          People

            roger Roger Meier
            duvduv Itay Duvdevani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: