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

IgniteAtomicLongChangingTopologySelfTest.testClientQueueCreateCloseFailover fails

    XMLWordPrintableJSON

Details

    Description

      This is a regression introduced during persistent store migration.

      [2017-07-04 11:20:46,993][ERROR][main][root] Test failed.
      class org.apache.ignite.IgniteException: Failed to update keys (retry update if possible).: [GridCacheQueueHeaderKey [name=q-3]]
      	at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:957)
      	at org.apache.ignite.internal.IgniteKernal.queue(IgniteKernal.java:3648)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.IgniteAtomicLongChangingTopologySelfTest$2.apply(IgniteAtomicLongChangingTopologySelfTest.java:164)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.IgniteAtomicLongChangingTopologySelfTest$2.apply(IgniteAtomicLongChangingTopologySelfTest.java:155)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.IgniteAtomicLongChangingTopologySelfTest.testFailoverWithClient(IgniteAtomicLongChangingTopologySelfTest.java:221)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.IgniteAtomicLongChangingTopologySelfTest.testClientQueueCreateCloseFailover(IgniteAtomicLongChangingTopologySelfTest.java:155)
      	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:497)
      	at junit.framework.TestCase.runTest(TestCase.java:176)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997)
      	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
      	at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: class org.apache.ignite.internal.processors.cache.CachePartialUpdateCheckedException: Failed to update keys (retry update if possible).: [GridCacheQueueHeaderKey [name=q-3]]
      	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicAbstractUpdateFuture.onPrimaryError(GridNearAtomicAbstractUpdateFuture.java:398)
      	at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicSingleUpdateFuture.onNodeLeft(GridNearAtomicSingleUpdateFuture.java:155)
      	at org.apache.ignite.internal.processors.cache.GridCacheMvccManager$4.onEvent(GridCacheMvccManager.java:266)
      	at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager$LocalListenerWrapper.onEvent(GridEventStorageManager.java:1353)
      	at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.notifyListeners(GridEventStorageManager.java:895)
      	at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.record0(GridEventStorageManager.java:344)
      	at org.apache.ignite.internal.managers.eventstorage.GridEventStorageManager.record(GridEventStorageManager.java:311)
      	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.recordEvent(GridDiscoveryManager.java:2401)
      	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body0(GridDiscoveryManager.java:2598)
      	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryWorker.body(GridDiscoveryManager.java:2430)
      	at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
      	... 1 more
      	Suppressed: class org.apache.ignite.IgniteCheckedException: Failed to update keys on primary node.
      		at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.UpdateErrors.addFailedKeys(UpdateErrors.java:124)
      		at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicUpdateResponse.addFailedKeys(GridNearAtomicUpdateResponse.java:342)
      		at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicAbstractUpdateFuture.primaryFailedResponse(GridNearAtomicAbstractUpdateFuture.java:435)
      		at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicSingleUpdateFuture.onNodeLeft(GridNearAtomicSingleUpdateFuture.java:149)
      		... 10 more
      		Suppressed: class org.apache.ignite.internal.cluster.ClusterTopologyCheckedException: Primary node left grid before response is received: 06cc876d-c8ff-44ab-ba9c-b50d42b00001
      			at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicAbstractUpdateFuture.primaryFailedResponse(GridNearAtomicAbstractUpdateFuture.java:431)
      			... 11 more
      

      Attachments

        Issue Links

          Activity

            People

              dpavlov Dmitry Pavlov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: