[infinispan-dev] eager locking and deadlocks

Vladimir Blagojevic vblagoje at redhat.com
Tue Jul 6 13:36:56 EDT 2010


On 2010-07-06, at 1:08 PM, Mircea Markus wrote:

>> 
>> Would this not result in a very complex implementation though?
> the InterceptorChainFactory would add a parameter to the LockInterceptor, a boolean value.
> Then there would be an if in visitLockControlCommand.
> The bit I don't know about is to rollback the remote lock acquisition if I cannot acquire it locally (remember remote lock is acquired when trying to acquire local one). Vladimir - do I have support for release a remote lock?   

No you don't. We intended to have unlock but we removed it early in design phase. See https://jira.jboss.org/browse/ISPN-48 for rationale. 

Cheers,
Vladimir


More information about the infinispan-dev mailing list