[JBoss JIRA] (ISPN-11529) Clustered Locks allows numOwners=1 and DENY_READ_WRITES
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11529?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11529:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 11.0.0.Dev04
10.1.6.Final
Resolution: Done
> Clustered Locks allows numOwners=1 and DENY_READ_WRITES
> -------------------------------------------------------
>
> Key: ISPN-11529
> URL: https://issues.redhat.com/browse/ISPN-11529
> Project: Infinispan
> Issue Type: Bug
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev04, 10.1.6.Final
>
>
> If the user configures a clustered lock to utilise numOwners=1 and Reliability.CONSISTENT, this will result in the partion handling strategy being set to DENY_READ_WRITES which will result in the cluster becoming degraded in the event of a single node leaving the cluster.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 10 months
[JBoss JIRA] (ISPN-11459) NullPointerException installing continuous query listener on joiner
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-11459?page=com.atlassian.jira.plugi... ]
Dan Berindei updated ISPN-11459:
--------------------------------
Fix Version/s: 10.1.6.Final
> NullPointerException installing continuous query listener on joiner
> -------------------------------------------------------------------
>
> Key: ISPN-11459
> URL: https://issues.redhat.com/browse/ISPN-11459
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 9.4.18.Final, 10.1.3.Final, 11.0.0.Alpha2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 11.0.0.Dev03, 10.1.6.Final
>
>
> {noformat}
> 17:41:53,346 WARN (jgroups-4,Test-NodeD:[]) [StateConsumerImpl] ISPN000284: Problem encountered while installing cluster listener
> java.lang.NullPointerException: null
> at org.infinispan.notifications.impl.AbstractListenerImpl.canApply(AbstractListenerImpl.java:307) ~[classes/:?]
> at org.infinispan.notifications.impl.AbstractListenerImpl.validateAndAddFilterListenerInvocations(AbstractListenerImpl.java:271) ~[classes/:?]
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.addFilteredListenerInternal(CacheNotifierImpl.java:1330) ~[classes/:?]
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.addFilteredListenerAsync(CacheNotifierImpl.java:1293) ~[classes/:?]
> at org.infinispan.notifications.DataConversionAwareListenable.addFilteredListener(DataConversionAwareListenable.java:26) ~[classes/:?]
> at org.infinispan.notifications.cachelistener.cluster.ClusterListenerReplicateCallable.accept(ClusterListenerReplicateCallable.java:117) ~[classes/:?]
> at org.infinispan.statetransfer.StateConsumerImpl.lambda$fetchClusterListeners$6(StateConsumerImpl.java:526) ~[classes/:?]
> {noformat}
> {{AbstractCQMultipleCachesTest#testCQCacheLeavesAndJoins}} was supposed to test that continuous query keeps working after another node joins, but before the ISPN-11435 fix it only started a new cache manager, without starting the indexed cache. Now that all defined caches are started automatically, the test fails if the joiner becomes primary owner of key 5 (the only key that is included in the query results and is updated after the join):
> {noformat}
> Test failed: org.infinispan.query.continuous.ContinuousQueryMultipleCachesDistTest.testCQCacheLeavesAndJoins
> java.lang.AssertionError: expected:<6> but was:<5>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
> at org.infinispan.query.continuous.AbstractCQMultipleCachesTest.testCQCacheLeavesAndJoins(AbstractCQMultipleCachesTest.java:161)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 10 months
[JBoss JIRA] (ISPN-11459) NullPointerException installing continuous query listener on joiner
by Dan Berindei (Jira)
[ https://issues.redhat.com/browse/ISPN-11459?page=com.atlassian.jira.plugi... ]
Dan Berindei reopened ISPN-11459:
---------------------------------
> NullPointerException installing continuous query listener on joiner
> -------------------------------------------------------------------
>
> Key: ISPN-11459
> URL: https://issues.redhat.com/browse/ISPN-11459
> Project: Infinispan
> Issue Type: Bug
> Components: Embedded Querying
> Affects Versions: 9.4.18.Final, 10.1.3.Final, 11.0.0.Alpha2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 11.0.0.Dev03, 10.1.6.Final
>
>
> {noformat}
> 17:41:53,346 WARN (jgroups-4,Test-NodeD:[]) [StateConsumerImpl] ISPN000284: Problem encountered while installing cluster listener
> java.lang.NullPointerException: null
> at org.infinispan.notifications.impl.AbstractListenerImpl.canApply(AbstractListenerImpl.java:307) ~[classes/:?]
> at org.infinispan.notifications.impl.AbstractListenerImpl.validateAndAddFilterListenerInvocations(AbstractListenerImpl.java:271) ~[classes/:?]
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.addFilteredListenerInternal(CacheNotifierImpl.java:1330) ~[classes/:?]
> at org.infinispan.notifications.cachelistener.CacheNotifierImpl.addFilteredListenerAsync(CacheNotifierImpl.java:1293) ~[classes/:?]
> at org.infinispan.notifications.DataConversionAwareListenable.addFilteredListener(DataConversionAwareListenable.java:26) ~[classes/:?]
> at org.infinispan.notifications.cachelistener.cluster.ClusterListenerReplicateCallable.accept(ClusterListenerReplicateCallable.java:117) ~[classes/:?]
> at org.infinispan.statetransfer.StateConsumerImpl.lambda$fetchClusterListeners$6(StateConsumerImpl.java:526) ~[classes/:?]
> {noformat}
> {{AbstractCQMultipleCachesTest#testCQCacheLeavesAndJoins}} was supposed to test that continuous query keeps working after another node joins, but before the ISPN-11435 fix it only started a new cache manager, without starting the indexed cache. Now that all defined caches are started automatically, the test fails if the joiner becomes primary owner of key 5 (the only key that is included in the query results and is updated after the join):
> {noformat}
> Test failed: org.infinispan.query.continuous.ContinuousQueryMultipleCachesDistTest.testCQCacheLeavesAndJoins
> java.lang.AssertionError: expected:<6> but was:<5>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
> at org.infinispan.query.continuous.AbstractCQMultipleCachesTest.testCQCacheLeavesAndJoins(AbstractCQMultipleCachesTest.java:161)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 10 months