You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Lantukh (JIRA)" <ji...@apache.org> on 2017/09/04 10:01:00 UTC
[jira] [Updated] (IGNITE-6254) Assertion error in
IgniteTxHandler.processDhtTxFinishRequest(...)
[ https://issues.apache.org/jira/browse/IGNITE-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Lantukh updated IGNITE-6254:
---------------------------------
Description:
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.
was:
AssertionError is thrown in the end of the 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.
> 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)