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:43:00 UTC

[jira] [Created] (IGNITE-18326) SQL query may forgets to finish implicit TX.

Andrey Mashenkov created IGNITE-18326:
-----------------------------------------

             Summary: SQL query may forgets to finish implicit TX.
                 Key: IGNITE-18326
                 URL: https://issues.apache.org/jira/browse/IGNITE-18326
             Project: Ignite
          Issue Type: Bug
            Reporter: Andrey Mashenkov


Scenario
* Start grid of [CGM, MetaStorage, DataNode] nodes.
* Stop DataNode.
* Run sql query, and wait on future for timeout.
* Observe: Query can't be started due to DataNode with the partition is absent, and
Future throws CancelledException.
There is no way to get cursor closed because of future failure. Implicit transaction object can't be accessed.
* Start DataNode back.
* Run the same query again
* Observe: Query failed because it can't lock the entry due to previous Tx wasn't committed or rolled back.

Most likely, noone read from the cursor or we forget to close it when session was closed.
See ItNodeRestartTest#testImplicitTransaction



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