Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2136

cache.lock(...) with FAIL_SILENTLY flag within OPTIMISTIC tx should fail immediate

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 5.2.0.ALPHA2, 5.2.0.Final
    • 5.1.5.FINAL
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            tfromm_jira Thomas Fromm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: