You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Lantukh (JIRA)" <ji...@apache.org> on 2017/09/01 11:24:00 UTC

[jira] [Commented] (IGNITE-5999) Assertion fails: Moving partition is below zero

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

Ilya Lantukh commented on IGNITE-5999:
--------------------------------------

"Moving" field value was calculated incorrectly if map values were copied from another map. I fixed it. However, the test still fails sometimes due to other reasons.

> Assertion fails: Moving partition is below zero
> -----------------------------------------------
>
>                 Key: IGNITE-5999
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5999
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Eduard Shangareev
>            Assignee: Ilya Lantukh
>            Priority: Critical
>              Labels: MakeTeamcityGreenAgain, Muted_test
>             Fix For: 2.3
>
>
> It was found during org.apache.ignite.internal.processors.cache.distributed.near.IgniteCacheQueryNodeRestartSelfTest2#testRestarts execution
> {code}
> java.lang.AssertionError: -10
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionMap.hasMovingPartitions(GridDhtPartitionMap.java:135)
> 	at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.hasMovingPartitions(GridDhtPartitionTopologyImpl.java:2116)
> 	at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.hasMovingPartitions(GridReduceQueryExecutor.java:366)
> 	at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.isPreloadingActive(GridReduceQueryExecutor.java:354)
> 	at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:577)
> 	at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$8.iterator(IgniteH2Indexing.java:1160)
> 	at org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:95)
> 	at org.apache.ignite.internal.processors.cache.QueryCursorImpl.getAll(QueryCursorImpl.java:114)
> 	at org.apache.ignite.internal.processors.cache.distributed.near.IgniteCacheQueryNodeRestartSelfTest2$1.applyx(IgniteCacheQueryNodeRestartSelfTest2.java:247)
> 	at org.apache.ignite.internal.util.lang.GridAbsClosureX.apply(GridAbsClosureX.java:35)
> 	at org.apache.ignite.internal.util.lang.GridAbsClosure.run(GridAbsClosure.java:50)
> 	at org.apache.ignite.testframework.GridTestUtils$9.call(GridTestUtils.java:1236)
> 	at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)