[jboss-jira] [JBoss JIRA] Updated: (JGRP-933) NAKACK/UNICAST: eager lock releasing not respected

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Mar 19 05:07:22 EDT 2009


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

Bela Ban updated JGRP-933:
--------------------------

    Fix Version/s: 2.8
                       (was: 2.9)


> NAKACK/UNICAST: eager lock releasing not respected
> --------------------------------------------------
>
>                 Key: JGRP-933
>                 URL: https://jira.jboss.org/jira/browse/JGRP-933
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 2.8
>
>
> In both NAKACK and UNICAST, we have atomic booleans, which are consulted before trying to acquire the lock. So if a lock is released eagerly in a ProtocolStack.down() call, although the lock is released, the atomic var isn't, and so subsequent threads will still not be able to process different messages.
> A simple solution would be to release the lock *and* the atomic var in down().
> OTOH, we should see whether we can use either locks or atomic vars, but not *both*.
> This will need to be redesigned anyway with scopes in place (https://jira.jboss.org/jira/browse/JGRP-822).

-- 
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