JMX MBeans for client connections can be orphaned
-------------------------------------------------
Key: ZOOKEEPER-1438
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1438
Project: ZooKeeper
Issue Type: Bug
Components: jmx
Affects Versions: 3.4.2
Reporter: Todd Lipcon
Priority: Minor
I have a functional test that extends from ClientBase, which I'm using to
stress test a piece of software that uses ZK underneath. In this test, I want
to simulate disconnection events, so I fire up a thread which calls
"serverFactory.closeAll()" every 50ms. The clients themselves churn through a
lot of sessions as part of the test. When the test completes, the ClientBase
teardown method fails, since it sees one or two MBeans "left over" from earlier
elapsed sessions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira