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

Ivan Pavlukhin commented on IGNITE-11107:
-----------------------------------------

[~DmitriyGovorukhin], as the most recent editor of the test could you please 
chime in and comment regarding changing test to use TRANSACTIONAL caches? May 
be we should test both atomic and transactional caches?

> 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)

Reply via email to