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_3.4.patch
        11 kB
        Germán Blanco
      3. ZOOKEEPER-87.patch
        10 kB
        Germán Blanco
      4. ZOOKEEPER-87_3.4.patch
        11 kB
        Germán Blanco

        Activity

        No work has yet been logged on this 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