ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1814

Reduction of waiting time during Fast Leader Election

    Details

    • Type: Bug Bug
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.5, 3.5.0
    • Fix Version/s: 3.5.2, 3.6.0
    • Component/s: leaderElection
    • Labels:
      None

      Description

      FastLeader election takes long time because of the exponential backoff. Currently the time is 60 seconds.

      It would be interesting to give the possibility to configure this parameter, like for example for a Server shutdown.

      Otherwise, it sometimes takes so long and it has been detected a test failure when executing: org.apache.zookeeper.server.quorum.QuorumPeerMainTest.

      This test case waits until 30 seconds and this is smaller than the 60 seconds where the leader election can be waiting for at the moment of shutting down.

      Considering the failure during the test case, this issue was considered a possible bug.

      1. ZOOKEEPER-1814_release_3_5_0.patch
        15 kB
        Daniel Peon
      2. ZOOKEEPER-1814_trunk.patch
        15 kB
        Daniel Peon
      3. ZOOKEEPER-1814.patch
        14 kB
        Daniel Peon
      4. ZOOKEEPER-1814.patch
        13 kB
        Daniel Peon
      5. ZOOKEEPER-1814.patch
        13 kB
        Daniel Peon
      6. ZOOKEEPER-1814.patch
        13 kB
        Daniel Peon
      7. ZOOKEEPER-1814.patch
        13 kB
        Daniel Peon
      8. ZOOKEEPER-1814.patch
        13 kB
        Daniel Peon
      9. ZOOKEEPER-1814.patch
        13 kB
        Daniel Peon
      10. ZOOKEEPER-1814.patch
        12 kB
        Daniel Peon
      11. ZOOKEEPER-1814.patch
        12 kB
        Daniel Peon

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Daniel Peon
            Reporter:
            Daniel Peon
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development