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

zookeeper servers should commit the new leader txn to their logs.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.1.0
    • 3.4.0
    • server
    • None
    • Reviewed

    Description

      currently the zookeeper followers do not commit the new leader election. This will cause problems in a failure scenarios with a follower acking to the same leader txn id twice, which might be two different intermittent leaders and allowing them to propose two different txn's of the same zxid.

      Attachments

        1. faultynode-vishal.txt
          114 kB
          Vishal Kher
        2. zk.log.gz
          5 kB
          Mike Solomon
        3. zklogs.tar.gz
          75 kB
          Vishal Kher
        4. ZOOKEEPER-335_2.patch
          56 kB
          Benjamin Reed
        5. ZOOKEEPER-335_3.patch
          58 kB
          Benjamin Reed
        6. ZOOKEEPER-335_4.patch
          58 kB
          Benjamin Reed
        7. ZOOKEEPER-335_5.patch
          58 kB
          Benjamin Reed
        8. ZOOKEEPER-335.patch
          55 kB
          Benjamin Reed
        9. ZOOKEEPER-790.travis.log.bz2
          44 kB
          Travis Crawford

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            breed Benjamin Reed
            mahadev Mahadev Konar
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment