Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-2296

Flume RPC back off bug

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: Client SDK
    • Labels:
      None
    • Environment:

      Java application use LoadBalancingLog4jAppender

      Description

      I'm using LoadBalancingLog4jAppender.To be failoverUnder the condition of one of log server is down. If I set a max back off time,LoadBalancingLog4jAppender will try to reconnect log server after a time( generate by exponential backoff algorithm in class OrderSelector)
      The problems is that, the time generate by exponential backoff algorithm always be 2000ms. not increating by algorithm.
      If I change the condition (allowableDiff > delta) to (allowableDiff < delta), it works fine. from line 103 of OrderSelector

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              edwardsbean edwardsbean
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: