[jboss-jira] [JBoss JIRA] Created: (JGRP-737) Shared transport protocols use stack field from first channel created

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Apr 22 13:33:44 EDT 2008


Shared transport protocols use stack field from first channel created
---------------------------------------------------------------------

                 Key: JGRP-737
                 URL: http://jira.jboss.com/jira/browse/JGRP-737
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.6.2
            Reporter: Brian Stansberry
         Assigned To: Bela Ban
            Priority: Critical


For example, TP.timer is set to TP.stack.timer.  TP.stack belongs to an individual channel, not to the set of channels associated with a shared transport.

Disconnect the first channel and the others go boom.

Did a quick scan of usage of the 'stack' field or the 'getProtocolStack()' method in TP and its subclasses.  This usage for the timer is one. Others are:

1) TCP.getConnectionTable calls cTable.setThreadFactory(getProtocolStack().getThreadFactory());
2) handleDiagnosticProbe uses stack.getChannel()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list