[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: Distributed Lock Mechanism
bela@jboss.com
do-not-reply at jboss.com
Fri Jan 19 02:50:57 EST 2007
There is a DLM that's part of JGroups but it is somewhat unsupported (I didn't write it and the guy who did is too busy to support it): http://www.koders.com/java/fidC73888EED1C2ECCDD56AF33274914F9AB36641F7.aspx?s=DistributedLockManager
The existing DLM is also a bit costly, as it does a 2-phase lock acquisition phase. Also, IIRC it requires total consensus, not majority-based consensus as you described above.
You also have to solve the issue where a member which is currently holding the lock crashes. In this case, you have to release all the locks held by a crashed member.
If you submit a concise spec then something like what you described could be implemented in a few days...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003677#4003677
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003677
More information about the jboss-dev-forums
mailing list