Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 971839 - JGroups Channel not closed after the channel is cleaned up
JGroups Channel not closed after the channel is cleaned up
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ (Show other bugs)
All All
medium Severity medium
: ER7
: EAP 6.1.1
Assigned To: Clebert Suconic
Depends On:
  Show dependency treegraph
Reported: 2013-06-07 07:40 EDT by Yong Hao Gao
Modified: 2013-09-16 16:29 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-09-16 16:29:22 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker HORNETQ-1223 Major Closed JGroups Channel not closed after the channel is cleaned up 2014-06-19 03:23:59 EDT

  None (edit)
Description Yong Hao Gao 2013-06-07 07:40:55 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):

How reproducible:

Run DiscoveryTest

Steps to Reproduce:
1. If you run DiscoveryTest you'll get thread leak failure.

Actual results:
test failure

Expected results:
test pass

Additional info:
Comment 1 JBoss JIRA Server 2013-06-20 16:42:57 EDT
Clebert Suconic <clebert.suconic@jboss.com> updated the status of jira HORNETQ-1223 to Closed
Comment 3 Clebert Suconic 2013-08-20 12:10:46 EDT
this only affected our testcases... not an issue on production, hence no need to document it on release notes
Comment 4 Miroslav Novak 2013-08-22 07:44:55 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.