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

Unending Leader Elections : WAN configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.2.0
    • 3.2.1, 3.3.0
    • leaderElection
    • None
    • 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 D. Hunt
        5. ZOOKEEPER-498.patch
          4 kB
          Flavio Paiva Junqueira
        6. ZOOKEEPER-498.patch
          10 kB
          Flavio Paiva Junqueira
        7. ZOOKEEPER-498.patch
          30 kB
          Flavio Paiva Junqueira
        8. ZOOKEEPER-498.patch
          30 kB
          Flavio Paiva Junqueira
        9. ZOOKEEPER-498-3.2.patch
          30 kB
          Flavio Paiva Junqueira

        Activity

          People

            fpj Flavio Paiva Junqueira
            toddg Todd Greenwood-Geer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: