ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1699

Leader should timeout and give up leadership when losing quorum of last proposed configuration

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.0
    • Component/s: server
    • Labels:
      None

      Description

      A leader gives up leadership when losing a quorum of the current configuration.
      This doesn't take into account any proposed configuration. So, if
      a reconfig operation is in progress and a quorum of the new configuration is not
      responsive, the leader will just get stuck waiting for it to ACK the reconfig operation, and will never timeout.

      1. ZOOKEEPER-1699.patch
        5 kB
        Alexander Shraer
      2. ZOOKEEPER-1699-draft.patch
        12 kB
        Flavio Junqueira
      3. ZOOKEEPER-1699-draft.patch
        11 kB
        Flavio Junqueira
      4. ZOOKEEPER-1699-v1.patch
        5 kB
        Alexander Shraer
      5. ZOOKEEPER-1699-v2.patch
        8 kB
        Alexander Shraer
      6. ZOOKEEPER-1699-v3.patch
        7 kB
        Alexander Shraer
      7. ZOOKEEPER-1699-v4.patch
        7 kB
        Alexander Shraer
      8. ZOOKEEPER-1699-v4.patch
        7 kB
        Alexander Shraer
      9. ZOOKEEPER-1699-v5.patch
        12 kB
        Flavio Junqueira

        Activity

        Alexander Shraer created issue -
        Alexander Shraer made changes -
        Field Original Value New Value
        Summary Leader should timeout and give up leadership when loosing quorum of last proposed configuration Leader should timeout and give up leadership when losing quorum of last proposed configuration
        Alexander Shraer made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        Alexander Shraer made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Alexander Shraer made changes -
        Attachment ZOOKEEPER-1699.patch [ 12639964 ]
        Alexander Shraer made changes -
        Attachment ZOOKEEPER-1699-v1.patch [ 12639967 ]
        Alexander Shraer made changes -
        Attachment ZOOKEEPER-1699-v2.patch [ 12639974 ]
        Alexander Shraer made changes -
        Assignee Alexander Shraer [ shralex ]
        Alexander Shraer made changes -
        Attachment ZOOKEEPER-1699-v3.patch [ 12640025 ]
        Alexander Shraer made changes -
        Attachment ZOOKEEPER-1699-v4.patch [ 12640106 ]
        Alexander Shraer made changes -
        Attachment ZOOKEEPER-1807-ver6.patch [ 12640597 ]
        Alexander Shraer made changes -
        Attachment ZOOKEEPER-1807-ver6.patch [ 12640597 ]
        Alexander Shraer made changes -
        Attachment ZOOKEEPER-1699-v4.patch [ 12640654 ]
        Flavio Junqueira made changes -
        Attachment ZOOKEEPER-1699-draft.patch [ 12643973 ]
        Flavio Junqueira made changes -
        Attachment ZOOKEEPER-1699-draft.patch [ 12643975 ]
        Flavio Junqueira made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Flavio Junqueira made changes -
        Attachment ZOOKEEPER-1699-v5.patch [ 12644628 ]
        Flavio Junqueira made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Flavio Junqueira made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Michi Mutsuzaki made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Rakesh R made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Michi Mutsuzaki made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Alexander Shraer
            Reporter:
            Alexander Shraer
          • Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development