Hi , I have used pessimisticlocking scheme in jboss cache.I have faced dead lock and time out problem. In Forum I saw that Optimistic locking supports concurrency and it will not lead to dead lock problem . I have changed to optimistic locking .
But still I am facing the dead lock problem like below when CacheInstance1 commits a tx, it issues a local prepare (already holds locks on the nodes) and broadcasts a remote prepare to acquire locks on the other cache instances. If at the same time, CacheInstance2 commits a tx ON THE SAME DATA (acquires local locks before CacheInstance1's remote prepare is received) and attempts to do a remote prepare, both caches will deadlock since they both want locks on each other's data. More over it is not releasing lock on the nodes once this lock timeout exception comes.It will be released after restarting the server only. I saw in the forum that this bug will be fixed in 1.4.1 sp6.When it will be released? I am using jboss cache 1.4.1.sp4. Is it bug? Is this issue resolved in 2.0.0 GA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099115#4099115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099115 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
