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

ContainerManager doesn't close the Timer it creates when stop() is called

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.5.2, 3.6.0
    • Component/s: server
    • Labels:
      None
    • Release Note:
      Hide
      Thanks, Jordan.

      Branch 3.5: Committed revision 1740737.
      Trunk: Committed revision 1740738.
      Show
      Thanks, Jordan. Branch 3.5: Committed revision 1740737. Trunk: Committed revision 1740738.

      Description

      ContainerManager creates a Timer object. It's stop() method cancel's the running task but doesn't close the Timer itself. This ends up leaking a Thread (internal to the Timer).

        Attachments

        1. ZOOKEEPER-2413.patch
          0.5 kB
          Jordan Zimmerman

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: