You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Garus (JIRA)" <ji...@apache.org> on 2018/05/17 13:39:00 UTC

[jira] [Commented] (IGNITE-5979) [Test Failed] GridCacheAtomicInvalidPartitionHandlingSelfTest.testPrimaryFullAsync

    [ https://issues.apache.org/jira/browse/IGNITE-5979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479059#comment-16479059 ] 

Denis Garus commented on IGNITE-5979:
-------------------------------------

An error is occured due to:
There are two nodes: Node_1 with primary partition and Node_2 with backup partition.
1. Node_3 is started;
2. Before a rebalance of the partition from Node_1 to Node_3 is occured new value is putted to the partition on Node_1;
3. Node_1 creates a future for a propagating new value to Node_2 and Node_3;
4. Node_3 gets new value from Node_1 in process a rebalance;
5. Node_1 is stopped;
6. The future from step 3 is failed because of step 5. 
Now we have Node_3 with new value and Node_2 with old value.

This task may be fixed when IGNITE-7833 will be completed.

> [Test Failed]  GridCacheAtomicInvalidPartitionHandlingSelfTest.testPrimaryFullAsync 
> ------------------------------------------------------------------------------------
>
>                 Key: IGNITE-5979
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5979
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Eduard Shangareev
>            Assignee: Denis Garus
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, Muted_test
>             Fix For: 2.6
>
>
> Example of failing  - http://ci.ignite.apache.org/viewLog.html?buildId=760709&tab=buildResultsDiv&buildTypeId=Ignite20Tests_IgniteDataGridFailover#testNameId6248548165747570497
> {noformat}
> junit.framework.AssertionFailedError: Failed to check value for key [key=72625, node=0671e5c8-8bd5-4f2a-b1b8-9e9457400002, primary=false, recNodeId=101770ef-a622-4f7c-b714-70ecf1f00001] expected:<0> but was:<-1994497644>
>     at junit.framework.Assert.fail(Assert.java:57)
>     at junit.framework.Assert.failNotEquals(Assert.java:329)
>     at junit.framework.Assert.assertEquals(Assert.java:78)
>     at junit.framework.TestCase.assertEquals(TestCase.java:244)
>     at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridCacheAtomicInvalidPartitionHandlingSelfTest.checkRestarts(GridCacheAtomicInvalidPartitionHandlingSelfTest.java:334)
>     at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridCacheAtomicInvalidPartitionHandlingSelfTest.testPrimaryFullAsync(GridCacheAtomicInvalidPartitionHandlingSelfTest.java:154)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)