Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2869

Allow for exponential backoff in ClientCnxn.SendThread on connection re-establishment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.10, 3.5.3
    • None
    • java client
    • None

    Description

      As part of ZOOKEEPER-961, when the client re-establishes a connection to the server, it will sleep for a random number of milliseconds in the range [0, 1000). Introduced here.

      These reconnects can cause excessive logging in clients if the server is unavailable for an extended period of time, with reconnects every 500ms on average.

      One solution could be to allow for exponential backoff in the client. The backoff params could be made configurable.

      3.5.x code.
      3.4.x code.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nickt Nick Travers
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: