Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9892

MVCC: Exchange hangs on mvcc coordinator fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: mvcc
    • Labels:

      Description

      Test CacheMvccPartitionedSqlCoordinatorFailoverTest#testAccountsTxSql_Server_Backups0_CoordinatorFails hangs sporadically on exchange.

      Stacktrace:

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amashenkov Andrey Mashenkov
                Reporter:
                rkondakov Roman Kondakov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: