]
Brian Stansberry reassigned JBAS-5631:
--------------------------------------
Assignee: Brian Stansberry (was: Paul Ferraro)
Access to HAPartiiton membership is not thread-safe
---------------------------------------------------
Key: JBAS-5631
URL:
https://jira.jboss.org/browse/JBAS-5631
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: HA-Server-Core
Reporter: Paul Ferraro
Assignee: Brian Stansberry
Fix For: HA-Server-Core 1.0.0.Beta1
There are 2 problems with the current implementation.
1. Currently, the membership collections, while synchronized, are both non-volatile and
updated in a non-final fashion, so concurrent access by both view changes and rpc
invocations is not thread-safe.
2. Membership is expressed in 4 different vectors. During view change, these vectors are
not updated atomically.
To address both problems, the 4 vectors ought to be encapsulated into a single volatile,
immutable object.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: