]
Brian Stansberry resolved JBCLUSTER-280.
----------------------------------------
Resolution: Done
Fixed as part of initial work on CoreGroupMembershipService
Access to HAPartiiton membership is not thread-safe
---------------------------------------------------
Key: JBCLUSTER-280
URL:
https://jira.jboss.org/browse/JBCLUSTER-280
Project: JBoss Clustering
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: