[infinispan-issues] [JBoss JIRA] (ISPN-9319) Cache.lock(key) should throw AvailabilityException in degraded mode

Dan Berindei (JIRA) issues at jboss.org
Thu Jun 21 07:18:00 EDT 2018


Dan Berindei created ISPN-9319:
----------------------------------

             Summary: Cache.lock(key) should throw AvailabilityException in degraded mode
                 Key: ISPN-9319
                 URL: https://issues.jboss.org/browse/ISPN-9319
             Project: Infinispan
          Issue Type: Bug
          Components: Core, Test Suite - Core
    Affects Versions: 9.3.0.CR1
            Reporter: Dan Berindei
             Fix For: 9.4.0.Final


We need a test for {{cache.lock(key)}} when one of the owners is not an actual member of the cluster and the cache is in degraded mode. {{PartitionHandlingInterceptor}} doesn't handle {{LockControlCommand}} explicitly, so it might end up throwing {{TimeoutException}} after waiting for a new topology. We should make sure it throws an {{AvailabilityException}} instead.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list