[
https://issues.apache.org/jira/browse/IGNITE-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152438#comment-16152438
]
ASF GitHub Bot commented on IGNITE-6254:
----------------------------------------
GitHub user ilantukh opened a pull request:
https://github.com/apache/ignite/pull/2584
IGNITE-6254 : Fixed assertions for req.txState().
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-6254
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2584.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 #2584
----
commit 79fc1a871710e2aa081852b7a9dfd8e05e0bc8c7
Author: Ilya Lantukh <[email protected]>
Date: 2017-09-04T10:21:06Z
ignite-6254 : Fixed assertions for req.txState().
----
> Assertion error in IgniteTxHandler.processDhtTxFinishRequest(...)
> -----------------------------------------------------------------
>
> Key: IGNITE-6254
> URL: https://issues.apache.org/jira/browse/IGNITE-6254
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Ilya Lantukh
> Assignee: Ilya Lantukh
> Fix For: 2.3
>
>
> AssertionError is thrown in the end of this method:
> {noformat}
> assert req.txState() != null || (ctx.tm().tx(req.version()) == null &&
> ctx.tm().nearTx(req.version()) == null);
> {noformat}
> This could happen only if results of calls to IgniteTxManager changed after
> method execution started. We should re-use already aquired values:
> - replace ctx.tm().tx(...) call with dhtTx;
> - replace ctx.tml().nearTx(...) call with nearTx.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)