ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1521

LearnerHandler initLimit/syncLimit problems specifying follower socket timeout limits

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4.3, 3.3.5, 3.5.0
    • Fix Version/s: 3.3.6, 3.4.4, 3.5.0
    • Component/s: server
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Activity

        Patrick Hunt created issue -
        Patrick Hunt made changes -
        Field Original Value New Value
        Attachment ZOOKEEPER-1521_br33.patch [ 12538015 ]
        Patrick Hunt made changes -
        Attachment ZOOKEEPER-1521_br34.patch [ 12538024 ]
        Patrick Hunt made changes -
        Attachment ZOOKEEPER-1521.patch [ 12538025 ]
        Patrick Hunt made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Assignee Patrick Hunt [ phunt ]
        Patrick Hunt made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Patrick Hunt
            Reporter:
            Patrick Hunt
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development