ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-87

Follower does not shut itself down if its too far behind the leader.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4.5, 3.5.0
    • Fix Version/s: 3.4.6, 3.5.0
    • Component/s: quorum
    • Labels:
    • Release Note:
      Hide
      The value of syncLimit should be reviewed before this change is introduced in the cluster. Since it now detects followers that are lagging behind, clusters in which this was happening will now see followers being disconnected from time to time. This will normally be solved by increasing the syncLimit value.
      Show
      The value of syncLimit should be reviewed before this change is introduced in the cluster. Since it now detects followers that are lagging behind, clusters in which this was happening will now see followers being disconnected from time to time. This will normally be solved by increasing the syncLimit value.

      Description

      Currently, the follower if lagging behind keeps sending pings to the leader it will stay alive and will keep getting further and further behind the leader. The follower should shut itself down if it is not able to keep up to the leader within some limit so that gurantee of updates can be made to the clients connected to different servers.

      1. ZOOKEEPER-87.patch
        10 kB
        Germán Blanco
      2. ZOOKEEPER-87.patch
        10 kB
        Germán Blanco
      3. ZOOKEEPER-87_3.4.patch
        11 kB
        Germán Blanco
      4. ZOOKEEPER-87_3.4.patch
        11 kB
        Germán Blanco

        Activity

        Flavio Junqueira made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Flavio Junqueira made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Germán Blanco made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12605207 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_3.4.patch [ 12605206 ]
        Flavio Junqueira made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Germán Blanco made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12604193 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_3.4.patch [ 12604191 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12604034 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_3.4.patch [ 12604033 ]
        Germán Blanco made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Germán Blanco made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note The value of syncLimit should be reviewed before this change is introduced in the cluster. Since it now detects followers that are lagging behind, clusters in which this was happening will now see followers being disconnected from time to time. This will normally be solved by increasing the syncLimit value.
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12604034 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_3.4.patch [ 12604033 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12603855 ]
        Germán Blanco made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Germán Blanco made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12603855 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_3.4.patch [ 12601055 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_trunk.patch [ 12603795 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_trunk.patch [ 12597270 ]
        Germán Blanco made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Germán Blanco made changes -
        Status In Progress [ 3 ] Patch Available [ 10002 ]
        Germán Blanco made changes -
        Assignee Mahadev konar [ mahadev ] Germán Blanco [ abranzyck ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_trunk.patch [ 12603795 ]
        Germán Blanco made changes -
        Fix Version/s 3.4.6 [ 12323310 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_3.4.patch [ 12601055 ]
        Germán Blanco made changes -
        Status Patch Available [ 10002 ] In Progress [ 3 ]
        Affects Version/s 3.4.5 [ 12321883 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_trunk.patch [ 12597127 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_trunk.patch [ 12597270 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87_trunk.patch [ 12597127 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12581563 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12581196 ]
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12581563 ]
        Germán Blanco made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note not a blocker for 3.2, moving to 3.3
        Affects Version/s 3.5.0 [ 12316644 ]
        Labels patch
        Germán Blanco made changes -
        Attachment ZOOKEEPER-87.patch [ 12581196 ]
        Mahadev konar made changes -
        Fix Version/s 3.5.0 [ 12316644 ]
        Fix Version/s 3.4.0 [ 12314469 ]
        Patrick Hunt made changes -
        Fix Version/s 3.4.0 [ 12314469 ]
        Fix Version/s 3.3.0 [ 12313976 ]
        Patrick Hunt made changes -
        Release Note not a blocker for 3.2, moving to 3.3
        Fix Version/s 3.3.0 [ 12313976 ]
        Fix Version/s 3.2.0 [ 12313491 ]
        Patrick Hunt made changes -
        Component/s quorum [ 12312379 ]
        Mahadev konar made changes -
        Fix Version/s 3.1.0 [ 12313381 ]
        Fix Version/s 3.2.0 [ 12313491 ]
        Mahadev konar made changes -
        Assignee Mahadev konar [ mahadev ]
        Patrick Hunt made changes -
        Fix Version/s 3.0.0 [ 12313216 ]
        Fix Version/s 3.1.0 [ 12313381 ]
        Assignee Mahadev konar [ mahadev ]
        Mahadev konar made changes -
        Field Original Value New Value
        Fix Version/s 3.0.0 [ 12313216 ]
        Mahadev konar created issue -

          People

          • Assignee:
            Germán Blanco
            Reporter:
            Mahadev konar
          • Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development