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

Tristan Tarrant (Jira) issues at jboss.org
Sun Oct 27 16:09:17 EDT 2019


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

Tristan Tarrant updated ISPN-9319:
----------------------------------
    Fix Version/s: 10.0.1.Final
                       (was: 10.0.0.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: 10.0.1.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.13.8#713008)


More information about the infinispan-issues mailing list