[infinispan-issues] [JBoss JIRA] (ISPN-2136) cache.lock(...) with FAIL_SILENTLY flag within OPTIMISTIC tx should fail immediate

Thomas Fromm (JIRA) jira-events at lists.jboss.org
Wed Jun 27 11:39:12 EDT 2012


Thomas Fromm created ISPN-2136:
----------------------------------

             Summary: 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


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

        


More information about the infinispan-issues mailing list