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

LearnerHandler initLimit/syncLimit problems specifying follower socket timeout limits

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.4.3, 3.3.5, 3.5.0
    • 3.3.6, 3.4.4, 3.5.0
    • server
    • None
    • Reviewed

    Description

      branch 3.3: The leader is expecting the follower to initialize in syncLimit time rather than initLimit. In LearnerHandler run line 395 (branch33) we look for the ack from the follower with a timeout of syncLimit.

      branch 3.4+: seems like ZOOKEEPER-1136 introduced a regression while attempting to fix the problem. It sets the timeout as initLimit however it never sets the timeout to syncLimit once the ack is received.

      Attachments

        1. ZOOKEEPER-1521_br33.patch
          2 kB
          Patrick D. Hunt
        2. ZOOKEEPER-1521_br34.patch
          2 kB
          Patrick D. Hunt
        3. ZOOKEEPER-1521.patch
          2 kB
          Patrick D. Hunt

        Activity

          People

            phunt Patrick D. Hunt
            phunt Patrick D. Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: