[jboss-jira] [JBoss JIRA] Resolved: (JBCLUSTER-280) Access to HAPartiiton membership is not thread-safe
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Jun 1 17:42:51 EDT 2010
[ https://jira.jboss.org/browse/JBCLUSTER-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list