-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
JBossAS-5.1.0.GA
-
None
-
Workaround Exists
-
-
HASingletonImpl#registerDRMListener has a race condition with partitionTopologyChanged, which can cause views to be processed
out of order, and HASingletons to be started when they should be stopped, or stopped when they should be started.
The problem is that the thread calling registerDRMListener (which calls partitionTopologyChanged) is not synchronized against other threads that call partitionTopologyChanged.
This was introduced by the fix for https://issues.jboss.org/browse/JBAS-2647.
To fix the issue, partitionTopology must process the view saved in viewReference in the correct order, and registerDRMListener's
call to partitionTopology must be synchronized against other threads calling it (without causing a regression of JBAS-2647).
- blocks
-
JBPAPP-8633 race condition can break HASingleton functionality
- Closed