Roman Kondakov created IGNITE-9892:
--------------------------------------

             Summary: MVCC: Exchange hangs on mvcc coordinator fail
                 Key: IGNITE-9892
                 URL: https://issues.apache.org/jira/browse/IGNITE-9892
             Project: Ignite
          Issue Type: Bug
          Components: mvcc
    Affects Versions: 2.7
            Reporter: Roman Kondakov


Test 
{{CacheMvccPartitionedSqlCoordinatorFailoverTest#testAccountsTxSql_Server_Backups0_CoordinatorFails}}
 hangs sporadically on exchange.

Stacktrace:

{code:java}
[11:33:18]W:         [org.apache.ignite:ignite-indexing] Thread 
[name="exchange-worker-#151671%mvcc.CacheMvccPartitionedSqlCoordinatorFailoverTest1%",
 id=165981, state=TIMED_WAITING, blockCnt=69, waitCnt=36]
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
sun.misc.Unsafe.park(Native Method)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:338)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:219)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.util.future.GridFutureAdapter.get(GridFutureAdapter.java:160)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.waitPartitionRelease(GridDhtPartitionsExchangeFuture.java:1433)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1271)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:789)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2657)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2529)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.util.worker.GridWorker.run(GridWorker.java:120)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
java.lang.Thread.run(Thread.java:748)
[11:33:18]W:         [org.apache.ignite:ignite-indexing] Thread 
[name="test-runner-#151510%mvcc.CacheMvccPartitionedSqlCoordinatorFailoverTest%",
 id=165803, state=RUNNABLE, blockCnt=70, waitCnt=1710]
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
sun.management.ThreadImpl.dumpThreads0(Native Method)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:454)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.util.IgniteUtils.dumpThreads(IgniteUtils.java:1356)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:724)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:549)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:533)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.processors.cache.mvcc.CacheMvccAbstractTest.readWriteTest(CacheMvccAbstractTest.java:1382)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.processors.cache.mvcc.CacheMvccAbstractTest.accountsTxReadAll(CacheMvccAbstractTest.java:773)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.i.processors.cache.mvcc.CacheMvccAbstractSqlCoordinatorFailoverTest.testAccountsTxSql_Server_Backups0_CoordinatorFails(CacheMvccAbstractSqlCoordinatorFailoverTest.java:35)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
java.lang.reflect.Method.invoke(Method.java:498)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
junit.framework.TestCase.runTest(TestCase.java:176)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2176)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:142)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
o.a.i.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2091)
[11:33:18]W:         [org.apache.ignite:ignite-indexing]         at 
java.lang.Thread.run(Thread.java:748)
{code}






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

Reply via email to