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

Galder Zamarreño (Jira) issues at jboss.org
Fri Dec 7 11:55:14 EST 2018


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

Galder Zamarreño updated ISPN-9319:
-----------------------------------
    Fix Version/s: 9.4.5.Final
                       (was: 9.4.4.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.5.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