ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Lantukh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-6254) Assertion error in IgniteTxHandler.processDhtTxFinishRequest(...)
Date Mon, 04 Sep 2017 10:01:00 GMT

     [ 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)

Mime
View raw message