[jboss-jira] [JBoss JIRA] Resolved: (JGRP-171) Dist Lock Manager -- doesnt release locks when a node dies

Bela Ban (JIRA) jira-events at jboss.com
Thu Aug 10 02:46:12 EDT 2006


     [ http://jira.jboss.com/jira/browse/JGRP-171?page=all ]

Bela Ban resolved JGRP-171.
---------------------------

    Resolution: Done

done by releasing locks for crashed members. However, the "owner" argument for lock() needs to be a org.jgroups.Address, otherwise the matching of failed members against lock holders fails !

> Dist Lock Manager -- doesnt release locks when a node dies
> ----------------------------------------------------------
>
>                 Key: JGRP-171
>                 URL: http://jira.jboss.com/jira/browse/JGRP-171
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.2.9.1, 2.2.9, 2.2.8
>            Reporter: Bela Ban
>         Assigned To: Bela Ban
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: DistLockTest.java
>
>
>  Jgroups Version: 2.2.8
> I wrote a simple test program to acquire a lock on one
> object and release it after a second.
> When I run this program on 2 systems, and kill one
> system immediately after acquiring the lock, the other
> system cannot get a lock on that object and don?t have
> a mechanism to unlock it.
> Please Compile the attached DistLockTest program and
> run on 2 systems, and then kill one system immediately
> after it acquires the lock. The other system cannot
> acquire the lock on that object at all.

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

        



More information about the jboss-jira mailing list