-
1. Re: MVCCLockManager.lockAndRecord ignores the values of Invo
veklov Sep 4, 2009 6:29 AM (in response to veklov)The version of the cache is 3.2.0.
The full subject is "MVCCLockManager.lockAndRecord ignores the values of InvocationContext.getLockAcquisitionTimeout" -
2. Re: MVCCLockManager.lockAndRecord ignores the values of Invo
manik Sep 7, 2009 6:56 AM (in response to veklov)Please see the javadocs for Cache#putForExternalRead()
-
3. Re: MVCCLockManager.lockAndRecord ignores the values of Invo
veklov Sep 7, 2009 7:52 AM (in response to veklov)I see the contradiction to the javadocs for Cache#putForExternalRead().
According to the javadocs: "0ms lock timeout to prevent any blocking here either. If the lock is not acquired, this method is a no-op, and swallows the timeout exception."
But as you can see from the provided log the actual time out is 10 seconds.
I think that the behaviour of putForExternalRead is implemented through setting InvocationContext.lockAcquisitionTimeout to 0, but MVCCLockManager.lockAndRecord ignores this value. -
4. Re: MVCCLockManager.lockAndRecord ignores the values of Invo
manik Sep 24, 2009 12:35 PM (in response to veklov)Hi thanks for reporting, this is definitely a bug.
See https://jira.jboss.org/jira/browse/JBCACHE-1547