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.patchTo 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 <
[hidden email]>
Date: 2017-11-22T10:00:47Z
Review TODOs
commit 6aadbe88f1aad169928849f4e4fe7b8daf7a8422
Author: Alexandr Kuramshin <
[hidden email]>
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.
----
---