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

Unending Leader Elections : WAN configuration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.1, 3.3.0
    • Component/s: leaderElection
    • Labels:
      None
    • Environment:
    • Hadoop Flags:
      Reviewed

      Description

      In a WAN configuration, ZooKeeper is endlessly electing, terminating, and re-electing a ZooKeeper leader. The WAN configuration involves two groups, a central DC group of ZK servers that have a voting weight = 1, and a group of servers in remote pods with a voting weight of 0.

      What we expect to see is leaders elected only in the DC, and the pods to contain only followers. What we are seeing is a continuous cycling of leaders. We have seen this consistently with 3.2.0, 3.2.0 + recommended patches (473, 479, 481, 491), and now release 3.2.1.

        Attachments

        1. dc-zook-logs-01.tar.gz
          80 kB
          Todd Greenwood-Geer
        2. pod-zook-logs-01.tar.gz
          109 kB
          Todd Greenwood-Geer
        3. zoo.cfg
          1 kB
          Todd Greenwood-Geer
        4. zk498-test.tar.gz
          1.29 MB
          Patrick Hunt
        5. ZOOKEEPER-498.patch
          4 kB
          Flavio Junqueira
        6. ZOOKEEPER-498.patch
          10 kB
          Flavio Junqueira
        7. ZOOKEEPER-498.patch
          30 kB
          Flavio Junqueira
        8. ZOOKEEPER-498.patch
          30 kB
          Flavio Junqueira
        9. ZOOKEEPER-498-3.2.patch
          30 kB
          Flavio Junqueira

          Activity

            People

            • Assignee:
              fpj Flavio Junqueira
              Reporter:
              toddg Todd Greenwood-Geer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: