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

Dan Berindei (Jira) issues at jboss.org
Tue Nov 20 10:54:13 EST 2018


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

Dan Berindei updated ISPN-9319:
-------------------------------
    Fix Version/s: 9.4.3.Final
                       (was: 9.4.2.Final)


> 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
>            Priority: Major
>             Fix For: 9.4.3.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.12.1#712002)


More information about the infinispan-issues mailing list