ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladislav Pyatkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-6224) Node stoping does not wait all transactions completion
Date Wed, 30 Aug 2017 10:55:00 GMT
Vladislav Pyatkov created IGNITE-6224:
-----------------------------------------

             Summary: Node stoping does not wait all transactions completion
                 Key: IGNITE-6224
                 URL: https://issues.apache.org/jira/browse/IGNITE-6224
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: Vladislav Pyatkov


I have started grid node and executing transaction over some cache. After I stopped the node
in the middle execution of transaction. I have got transaction execution exception:
{noformat}
java.lang.IllegalStateException: class org.apache.ignite.internal.processors.cache.CacheStoppedException:
Failed to perform cache operation (cache is stopped): cache
	at org.apache.ignite.internal.processors.cache.GridCacheGateway.enter(GridCacheGateway.java:164)
	at org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.onEnter(GatewayProtectedCacheProxy.java:1656)
	at org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.put(GatewayProtectedCacheProxy.java:869)
	at org.apache.ignite.TransactionBehindStopNodeTest.testOneNode(TransactionBehindStopNodeTest.java:56)
	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 junit.framework.TestCase.runTest(TestCase.java:176)
	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2000)
	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
	at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1915)
	at java.lang.Thread.run(Thread.java:745)
{noformat}
also I stopped node with _false_ {{canceled}} flag.
{code}
G.stop(getTestIgniteInstanceName(0), false);
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message