[jboss-jira] [JBoss JIRA] Moved: (JBCLUSTER-280) Access to HAPartiiton membership is not thread-safe

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Jun 1 17:41:47 EDT 2010


     [ https://jira.jboss.org/browse/JBCLUSTER-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry moved JBAS-5631 to JBCLUSTER-280:
--------------------------------------------------

              Project: JBoss Clustering  (was: JBoss Application Server)
                  Key: JBCLUSTER-280  (was: JBAS-5631)
    Affects Version/s:     (was: JBossAS-4.2.2.GA)
                           (was: JBossAS-5.0.0.Beta4)
                           (was: JBossAS-4.2.1.GA)
                           (was:  JBossAS-5.0.0.Beta3)
                           (was: JBossAS-4.2.0.GA)
                           (was: JBossAS-5.0.0.Beta2)
                           (was: JBossAS-4.2.0.CR2)
                           (was: JBossAS-4.2.0.CR1)
                           (was: JBossAS-5.0.0.Beta1)
                           (was: JBossAS-4.0.5.GA)
                           (was: JBossAS-4.0.4.GA)
                           (was: JBossAS-4.0.5.CR1)
                           (was: JBossAS-4.0.4.CR2)
                           (was: JBossAS-3.2.8.SP1)
                           (was: JBossAS-3.2.8 Final)
                           (was: JBossAS-4.0.4RC1)
                           (was: JBossAS-4.0.3 Final)
                           (was:  JBossAS-3.2.8RC1)
                           (was: JBossAS-4.0.3 SP1)
                           (was:  JBossAS-4.0.3RC1)
                           (was:  JBossAS-4.0.3RC2)
                           (was: JBossAS-4.0.2 Final)
                           (was:  JBossAS-4.0.2RC1)
                           (was: JBossAS-4.0.1 SP1)
                           (was: JBossAS-4.0.1 Final)
                           (was: JBossAS-4.0.1RC1)
                           (was: JBossAS-4.0.0 Final)
          Component/s: HA-Server-Core
                           (was: Clustering)
        Fix Version/s: HA-Server-Core 1.0.0.Beta1
                           (was: 6.0.0.M4)


> 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