ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1440

Spurious log error messages when QuorumCnxManager is shutting down

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.3
    • Fix Version/s: 3.5.0
    • Component/s: quorum, server
    • Labels:
      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.

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

        Activity

          People

          • Assignee:
            Jordan Zimmerman
            Reporter:
            Jordan Zimmerman
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development