[
https://issues.apache.org/jira/browse/IGNITE-11614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808830#comment-16808830
]
Alexei Scherbakov commented on IGNITE-11614:
--------------------------------------------
[~agoncharuk], seems a commit error on tx near node doesn't trigger failure
handler and is propagated to near finish future without valid handling in
GridNearLocalTx.close.
The possible fix is the following:
{code:java}
if (state != COMMITTING && state != ROLLING_BACK && (!trackTimeout || rmv ||
prepFut != null && prepFut.isDone()))
rollbackNearTxLocalAsync(clearThreadMap, false).get();{code}
> Transaction with timeout on cache hangs after cache store failure
> -----------------------------------------------------------------
>
> Key: IGNITE-11614
> URL: https://issues.apache.org/jira/browse/IGNITE-11614
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.7
> Reporter: Anton Kurbanov
> Assignee: Alexey Goncharuk
> Priority: Critical
> Fix For: 2.8
>
> Attachments: CacheStoreTxPutAllMultiNodeTest.java
>
>
> If CacheStore fails before/during transaction commit, transaction with set
> timeout remains active.
> Setting cfg.setTransactionConfiguration(new
> TransactionConfiguration().setTxTimeoutOnPartitionMapExchange(5000)); fixes
> the issue in test.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)