Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Docs Required, Release Notes Required
Description
Motivation
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 here with TransactionException "Fail to finish the transaction inconsistent state" }
Find reproducer in IGNITE-18171 PR in ignite-runner module: org.apache.ignite.internal.cluster.ItClusterStartupTest#testReadWriteTransaction
Definition of Done
Only first commit/rollback operation can throw an exception. Subsequent invocations don't throw any exception.
Attachments
Issue Links
- blocks
-
IGNITE-18513 .NET: Thin 3.0: Don't throw exception when tx is already committed or rolled back
- Resolved
- is caused by
-
IGNITE-18171 Descibe nodes start/stop scenarios
- Resolved
- relates to
-
IGNITE-20598 Java Thin 3.0: incorrect error for query on closed transaction through Client API
- Resolved
- links to