Red Hat Bugzilla – Bug 971839
JGroups Channel not closed after the channel is cleaned up
Last modified: 2013-09-16 16:29:22 EDT
Description of problem:
The jgroups channel.close() should be called after the channel is no longer used. See:
org.hornetq.api.core.JGroupsBroadcastGroupConfiguration.JGroupsBroadcastEndpoint.JChannelManager.closeChannel(ChannelKey<?>, String, JChannel)
The closing of channel will clean up threads created by jgroups. If it is not closed, those threads will linger and cause thread leak error in test (see DiscoveryTest)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. If you run DiscoveryTest you'll get thread leak failure.
Clebert Suconic <email@example.com> updated the status of jira HORNETQ-1223 to Closed
this only affected our testcases... not an issue on production, hence no need to document it on release notes
BZ is in incorrect state. Fix for this issue is present in EAP 6.1.1.ER7(HQ 2.3.5.Final)
Verified using provided test in EAP 6.1.1.ER7.