[JBoss JIRA] (ISPN-7049) TopologyAwareStateTransferTest.testNodeDown random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7049?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-7049:
-------------------------------
Status: Open (was: New)
> TopologyAwareStateTransferTest.testNodeDown random failures
> -----------------------------------------------------------
>
> Key: ISPN-7049
> URL: https://issues.jboss.org/browse/ISPN-7049
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Fix For: 9.0.0.Beta1
>
>
> State transfer removes no longer owned entries after installing the new CH, but the test assumes it happens *before*:
> {noformat}
> 00:22:40,705 DEBUG (transport-thread-Test-NodeB-p3404-t5:[]) [StateConsumerImpl] Removing no longer owned entries for cache ___defaultcache
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] Test-NodeE-12789 should be present on = [Test-NodeA-2838, Test-NodeD-19813]
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] It is here = Test-NodeA-2838
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] It is here = Test-NodeB-21184
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] It is here = Test-NodeD-19813
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] count = 3
> 00:22:40,734 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.distribution.topologyaware.TopologyAwareStateTransferTest.testNodeDown
> java.lang.AssertionError
> at org.infinispan.distribution.topologyaware.TopologyAwareStateTransferTest.assertExistence(TopologyAwareStateTransferTest.java:151) ~[test-classes/:?]
> at org.infinispan.distribution.topologyaware.TopologyAwareStateTransferTest.testNodeDown(TopologyAwareStateTransferTest.java:93) ~[test-classes/:?]
> 00:22:40,744 TRACE (transport-thread-Test-NodeB-p3404-t5:[]) [InvalidateCommand] Invalidating keys [Test-NodeE-12789]
> 00:22:40,747 TRACE (transport-thread-Test-NodeB-p3404-t5:[]) [StateConsumerImpl] Removed 1 keys, data container now has 1 keys
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (ISPN-7049) TopologyAwareStateTransferTest.testNodeDown random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-7049?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-7049:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4571
> TopologyAwareStateTransferTest.testNodeDown random failures
> -----------------------------------------------------------
>
> Key: ISPN-7049
> URL: https://issues.jboss.org/browse/ISPN-7049
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Fix For: 9.0.0.Beta1
>
>
> State transfer removes no longer owned entries after installing the new CH, but the test assumes it happens *before*:
> {noformat}
> 00:22:40,705 DEBUG (transport-thread-Test-NodeB-p3404-t5:[]) [StateConsumerImpl] Removing no longer owned entries for cache ___defaultcache
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] Test-NodeE-12789 should be present on = [Test-NodeA-2838, Test-NodeD-19813]
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] It is here = Test-NodeA-2838
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] It is here = Test-NodeB-21184
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] It is here = Test-NodeD-19813
> 00:22:40,733 DEBUG (testng-Test:[]) [Test] count = 3
> 00:22:40,734 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.distribution.topologyaware.TopologyAwareStateTransferTest.testNodeDown
> java.lang.AssertionError
> at org.infinispan.distribution.topologyaware.TopologyAwareStateTransferTest.assertExistence(TopologyAwareStateTransferTest.java:151) ~[test-classes/:?]
> at org.infinispan.distribution.topologyaware.TopologyAwareStateTransferTest.testNodeDown(TopologyAwareStateTransferTest.java:93) ~[test-classes/:?]
> 00:22:40,744 TRACE (transport-thread-Test-NodeB-p3404-t5:[]) [InvalidateCommand] Invalidating keys [Test-NodeE-12789]
> 00:22:40,747 TRACE (transport-thread-Test-NodeB-p3404-t5:[]) [StateConsumerImpl] Removed 1 keys, data container now has 1 keys
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months
[JBoss JIRA] (ISPN-6806) Exception serializing L1InternalCacheEntry during state transfer
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6806?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6806:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Beta1
Resolution: Done
> Exception serializing L1InternalCacheEntry during state transfer
> ----------------------------------------------------------------
>
> Key: ISPN-6806
> URL: https://issues.jboss.org/browse/ISPN-6806
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 7.2.5.Final, 9.0.0.Alpha2, 8.2.2.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 8.1.5.Final, 9.0.0.Beta1, 9.0.0.Final, 8.2.5.Final
>
>
> {{L1InternalCacheEntry}} is not serializable, as only entries properly owned by the node are supposed to be sent via state transfer.
> However, when the last owner of a segment leaves the cluster, one of the other nodes becomes the owner of that segment, and the L1 entries it already has suddenly become part of the state it can send to other nodes. It then fails to send its state with this exception:
> {noformat}
> [org.infinispan.marshall.core.VersionAwareMarshaller] (transport-thread--p19-t14) Object is not serializable: java.io.NotSerializableException: org.infinispan.container.entries.L1InternalCacheEntry
> {noformat}
> This can happen quite often if L1 is enabled and {{numOwners = 1}}.
> Unfortunately, the serialization exception isn't propagated, and all the user sees is an initial state transfer timeout exception when trying to start another node later.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 2 months