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

zookeeper client timeout

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      I test like this(configure: tickTime=1000):
      1.connect to the zookeeper server with timeout 2000ms;
      2.kill client, the client log shows be killed at 20:09:43
      3.check zookeeper log, almost at the same time, zookeeper touch the socket issue:
      2020-12-14 20:09:43,488 [myid:] - WARN [NIOWorkerThread-2:NIOServerCnxn@366] - Unable to read additional data from client sessionid 0x10000989ff10001, likely client has closed socket
      4.I expected after 2000ms(2s) zookeeper should set the session timetout, but zookeeper set the session timeout state after 17s has pased! I don't know why. anyone has suggestion?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              paladin4409 LYD
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: