[ https://issues.apache.org/jira/browse/IGNITE-6827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266166#comment-16266166 ]
ASF GitHub Bot commented on IGNITE-6827: ---------------------------------------- GitHub user akuramshingg opened a pull request: https://github.com/apache/ignite/pull/3094 IGNITE-6827 Configurable rollback for long running transactions before partition exchange Add property TransactionConfiguration.rollbackOnTopologyChangeTimeout. Check rollbackOnTopologyChangeTimeout on partition release and partition map exchange waiting. Perform cancelOnTopologyChange() for near futures and rollbackOnTopologyChange() for near transactions. Add TxRollbackOnTopologyChangeTimeoutTest to IgniteCacheTestSuite6. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-6827 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/3094.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3094 ---- commit 10ee7bab57ac332e9b6316b13a095aee0d9009d1 Author: Alexandr Kuramshin <ein.nsk...@gmail.com> Date: 2017-11-22T10:00:47Z Review TODOs commit 6aadbe88f1aad169928849f4e4fe7b8daf7a8422 Author: Alexandr Kuramshin <ein.nsk...@gmail.com> Date: 2017-11-26T20:05:05Z Add property TransactionConfiguration.rollbackOnTopologyChangeTimeout. Check rollbackOnTopologyChangeTimeout on partition release and partition map exchange waiting. Perform cancelOnTopologyChange() for near futures and rollbackOnTopologyChange() for near transactions. Add TxRollbackOnTopologyChangeTimeoutTest to IgniteCacheTestSuite6. ---- > Configurable rollback for long running transactions before partition exchange > ----------------------------------------------------------------------------- > > Key: IGNITE-6827 > URL: https://issues.apache.org/jira/browse/IGNITE-6827 > Project: Ignite > Issue Type: Improvement > Affects Versions: 2.0 > Reporter: Alexei Scherbakov > Assignee: Alexandr Kuramshin > Fix For: 2.4 > > > Currently long running / buggy user transactions force partition exchange > block on waiting for > org.apache.ignite.internal.processors.cache.GridCacheSharedContext#partitionReleaseFuture, > preventing all grid progress. > I suggest introducing new global flag in TransactionConfiguration, like > {{txRollbackTimeoutOnTopologyChange}} > which will rollback exchange blocking transaction after the timeout. > Still need to think what to do with other topology locking activities. -- This message was sent by Atlassian JIRA (v6.4.14#64029)