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

CancelledKeyException does not work in some cases.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.10.0
    • None
    • None
    • None

    Description

      If the client connection is disconnected with zoo server, cancelledkeyexception will arise.

      Here is a strange scenarios.

      NIOServerCxn.doIO is blocked at line 333 by the fail-slow nic.

      If the delay lasts more than 30s, cancelledkeyexception will disappear.

      If the delay lasts for 25s, cancelledkeyexception will arise.

      When the doIO encounters the slowdown caused by teh fail-slow nic, the context is same.

      Attachments

        1. node3-60.log
          61 kB
          gendong1
        2. node3-25.log
          62 kB
          gendong1
        3. node2-60.log
          61 kB
          gendong1
        4. node2-25.log
          61 kB
          gendong1
        5. node1-60.log
          62 kB
          gendong1
        6. node1-25.log
          62 kB
          gendong1

        Activity

          People

            Unassigned Unassigned
            gendong1 gendong1
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: