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

Bela Ban (JIRA) issues at jboss.org
Mon May 26 02:21:56 EDT 2014


     [ https://issues.jboss.org/browse/JGRP-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1842.
----------------------------

    Resolution: Done


Synchronized fetching and creation of FORK. Ditto for the protocol stack

> 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
>             Fix For: 3.4.5, 3.5
>
>
> 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