[jboss-jira] [JBoss JIRA] Updated: (JBAS-4816) FirstAvailable - access and update of electedTarget is not atomic

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Tue Jan 20 14:00:04 EST 2009


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

Galder Zamarreno updated JBAS-4816:
-----------------------------------

    Fix Version/s: Backlog


> FirstAvailable - access and update of electedTarget is not atomic
> -----------------------------------------------------------------
>
>                 Key: JBAS-4816
>                 URL: https://jira.jboss.org/jira/browse/JBAS-4816
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>    Affects Versions: JBossAS-5.0.0.Beta2, JBossAS-4.2.1.GA
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>            Priority: Trivial
>             Fix For: Backlog
>
>
> Looking at FirstAvailable load balance policy, electedTarget access/update is not synchronised, 
> however, the chances of having some issues are very small. First, the proxy needs to be shared 
> by various threads before the electedTarget has been set, but as electedTarget already elected 
> randomly, the secondary effects of this lack of safety are none.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list