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

Mircea Markus (JIRA) jira-events at lists.jboss.org
Thu Jul 12 06:23:12 EDT 2012


     [ https://issues.jboss.org/browse/ISPN-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mircea Markus updated ISPN-2136:
--------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


integrated.
                
> 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: Galder Zamarreño
>            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

       



More information about the infinispan-issues mailing list