]
Bela Ban updated JGRP-1842:
---------------------------
Fix Version/s: 3.4.5
3.5
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.