[
https://issues.jboss.org/browse/ISPN-2136?page=com.atlassian.jira.plugin....
]
Manik Surtani commented on ISPN-2136:
-------------------------------------
Essentially, you're saying that this should not be swallowed by the FAIL_SILENTLY
option?
cache.lock(...) with FAIL_SILENTLY flag within OPTIMISTIC tx should
fail immediate
------------------------------------------------------------------------------------
Key: ISPN-2136
URL:
https://issues.jboss.org/browse/ISPN-2136
Project: Infinispan
Issue Type: Enhancement
Affects Versions: 5.1.5.FINAL
Reporter: Thomas Fromm
Assignee: Manik Surtani
Priority: Minor
Fix For: 5.2.0.ALPHA2, 5.2.0.FINAL
The error:
Caused by: org.infinispan.CacheException: Explicit locking is not allowed with optimistic
caches!
at
org.infinispan.interceptors.locking.OptimisticLockingInterceptor.visitLockControlCommand(OptimisticLockingInterceptor.java:202)
...
is currently supressed by FAIL_SILENTLY flag. But this is an usage error not an locking
failure, so it should fail immediate.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira