[jboss-jira] [JBoss JIRA] (JGRP-1842) ForkChannel.getFORK(...) is not thread-safe

Paul Ferraro (JIRA) issues at jboss.org
Thu May 22 15:04:56 EDT 2014


Paul Ferraro created JGRP-1842:
----------------------------------

             Summary: ForkChannel.getFORK(...) is not thread-safe
                 Key: JGRP-1842
                 URL: https://issues.jboss.org/browse/JGRP-1842
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 3.4.4
            Reporter: Paul Ferraro
            Assignee: Bela Ban


If multiple concurrent threads attempt to create a ForkChannel using the same fork stack, and the flag is enabled that attempts to create the FORK protocol if missing - the FORK protocol can inadvertently insert multiple times.  There needs to be some thread synchronization between the findProtocol(FORK.class) and protocol creation/insertion.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list