You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2022/12/02 13:22:00 UTC

[jira] [Updated] (IGNITE-18324) Calling tx.rollback() failed for commited transaction.

     [ https://issues.apache.org/jira/browse/IGNITE-18324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Mashenkov updated IGNITE-18324:
--------------------------------------
    Description: 
Snippet below looks valid, but it failed with TransactionException "Fail to finish the transaction inconsistent state ..."

 
Transaction tx = node.transactions().begin();try {
    // operations    tx.commit();
} finally {
    tx.rollback(); // FAILS }

  was:
Snippet below looks valid, but it failed with TransactionException "Fail to finish the transaction inconsistent state ..."

 
Transaction tx = node.transactions().begin();

try {

    // operations tx.commit(); 

finally

 tx.rollback(); // FAILS 


> Calling tx.rollback() failed for commited transaction.
> ------------------------------------------------------
>
>                 Key: IGNITE-18324
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18324
>             Project: Ignite
>          Issue Type: Bug
>          Components: ignite-3
>            Reporter: Andrey Mashenkov
>            Priority: Major
>
> Snippet below looks valid, but it failed with TransactionException "Fail to finish the transaction inconsistent state ..."
>  
> Transaction tx = node.transactions().begin();try {
>     // operations    tx.commit();
> } finally {
>     tx.rollback(); // FAILS }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)