You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Uttsel (Jira)" <ji...@apache.org> on 2022/12/23 08:55:00 UTC
[jira] [Commented] (IGNITE-18324) Calling tx.rollback() failed for commited transaction.
[ https://issues.apache.org/jira/browse/IGNITE-18324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651556#comment-17651556 ]
Sergey Uttsel commented on IGNITE-18324:
----------------------------------------
I checked the Oracle, MS SQL Server, CockroachDB. They don't throw exception on rollback immediately after a commit.
> Calling tx.rollback() failed for commited transaction.
> ------------------------------------------------------
>
> Key: IGNITE-18324
> URL: https://issues.apache.org/jira/browse/IGNITE-18324
> Project: Ignite
> Issue Type: Bug
> Reporter: Andrey Mashenkov
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> Snippet below looks valid, but it failed with TransactionException "Fail to finish the transaction inconsistent state ..."
> {code:java}
> Transaction tx = node.transactions().begin();
> try {
> // operations
> tx.commit();
> } finally {
> tx.rollback(); // FAILS here with TransactionException "Fail to finish the transaction inconsistent state"
> }
> {code}
> Find reproducer in IGNITE-18171 PR in ignite-runner module: org.apache.ignite.internal.cluster.ItClusterStartupTest#testReadWriteTransaction
--
This message was sent by Atlassian Jira
(v8.20.10#820010)