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

Spurious log error messages when QuorumCnxManager is shutting down

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.3
    • 3.5.0
    • quorum, server
    • None

    Description

      When shutting down the QuroumPeer, ZK server logs unnecessary errors. See QuorumCnxManager.Listener.run() - ss.accept() will throw an exception when it is closed. The catch (IOException e) will log errors. It should first check the shutdown field to see if the Listener is being shutdown. If it is, the exception is correct and no errors should be logged.

      Attachments

        1. patch.txt
          2 kB
          Jordan Zimmerman
        2. patch.txt
          1 kB
          Jordan Zimmerman

        Activity

          People

            randgalt Jordan Zimmerman
            randgalt Jordan Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: