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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.4.5, 3.5.0
    • 3.4.6, 3.5.0
    • quorum
    • 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.

      Attachments

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

        Activity

          People

            abranzyck Germán Blanco
            mahadev Mahadev Konar
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: