You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2019/03/07 09:40:00 UTC

[jira] [Commented] (IGNITE-11107) MVCC: IgniteCachePartitionLossPolicySelfTest.testReadWriteSafeAfterKillTwoNodes hangs sometimes

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

Andrew Mashenkov commented on IGNITE-11107:
-------------------------------------------

Looks like we have no test for Transactional caches with loss policy configured at all.
This means such case is not tested well and can be broken.

Let's fix loss policy for TX cache at first (or adapt tests for tx cache if needed). 

> MVCC: IgniteCachePartitionLossPolicySelfTest.testReadWriteSafeAfterKillTwoNodes hangs sometimes
> -----------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11107
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11107
>             Project: Ignite
>          Issue Type: Bug
>          Components: mvcc
>            Reporter: Roman Kondakov
>            Assignee: Ivan Pavlukhin
>            Priority: Major
>              Labels: Hanging, mvcc_stabilization_stage_1
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Sometimes IgniteCachePartitionLossPolicySelfTest.testReadWriteSafeAfterKillTwoNodes hangs on PME. Some partitions have not changed their state from {{RENTING}} to {{OWNING}}.
> {noformat}
> [2019-01-27 07:20:23,420][WARN ][test-runner-#32729%distributed.IgniteCachePartitionLossPolicySelfTest%][root] Finished waiting for topology map update [igniteInstanceName=distributed.IgniteCachePartitionLossPolicySelfTest4, p=0, duration=1415ms]
> [2019-01-27 07:20:23,421][WARN ][test-runner-#32729%distributed.IgniteCachePartitionLossPolicySelfTest%][root] Waiting for correct partition state part=2, should be OWNING [state=RENTING], node=distributed.IgniteCachePartitionLossPolicySelfTest4, cache=default
> [2019-01-27 07:20:25,023][WARN ][test-runner-#32729%distributed.IgniteCachePartitionLossPolicySelfTest%][root] Waiting for correct partition state part=13, should be OWNING [state=RENTING], node=distributed.IgniteCachePartitionLossPolicySelfTest4, cache=default
> Thread [name="test-runner-#32729%distributed.IgniteCachePartitionLossPolicySelfTest%", id=35714, state=RUNNABLE, blockCnt=93, waitCnt=1033]
>         at sun.management.ThreadImpl.dumpThreads0(Native Method)
>         at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:454)
>         at o.a.i.i.util.IgniteUtils.dumpThreads(IgniteUtils.java:1370)
>         at o.a.i.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:792)
>         at o.a.i.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:569)
>         at o.a.i.i.processors.cache.distributed.IgniteCachePartitionLossPolicySelfTest.checkLostPartition(IgniteCachePartitionLossPolicySelfTest.java:560)
>         at o.a.i.i.processors.cache.distributed.IgniteCachePartitionLossPolicySelfTest.testReadWriteSafeAfterKillTwoNodes(IgniteCachePartitionLossPolicySelfTest.java:258)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>         at o.a.i.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:2088)
>         at java.lang.Thread.run(Thread.java:748)
> {noformat}



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