ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-511

bad error handling in FollowerHandler.sendPackets

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: quorum, server
    • Labels:
      None

      Description

      in FollowerHandler if sendPackets gets an ioexception on writeRecord the send thread will exit, however the
      socket isn't necessarily closed.

      2009-08-19 15:28:46,869 - WARN [Sender-/127.0.0.1:58179:FollowerHandler@131] - Unexpected exception
      at org.apache.zookeeper.server.quorum.FollowerHandler.sendPackets(FollowerHandler.java:128)
      at org.apache.zookeeper.server.quorum.FollowerHandler.access$0(FollowerHandler.java:107)
      at org.apache.zookeeper.server.quorum.FollowerHandler$1.run(FollowerHandler.java:325)

      This results in the follower taking a very long time to recover and rejoin the quorum.

        Activity

        Patrick Hunt made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Flavio Junqueira made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mahadev konar made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Mahadev konar made changes -
        Fix Version/s 3.3.0 [ 12313976 ]
        Fix Version/s 3.4.0 [ 12314469 ]
        Mahadev konar made changes -
        Assignee Mahadev konar [ mahadev ]
        Mahadev konar made changes -
        Attachment ZOOKEEPER-511.patch [ 12438061 ]
        Patrick Hunt made changes -
        Field Original Value New Value
        Fix Version/s 3.4.0 [ 12314469 ]
        Fix Version/s 3.3.0 [ 12313976 ]
        Patrick Hunt created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development