You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2024/04/17 11:19:00 UTC

[jira] [Created] (IGNITE-22062) RO transaction does not close cursor when exception is thrown

Vladislav Pyatkov created IGNITE-22062:
------------------------------------------

             Summary: RO transaction does not close cursor when exception is thrown
                 Key: IGNITE-22062
                 URL: https://issues.apache.org/jira/browse/IGNITE-22062
             Project: Ignite
          Issue Type: Bug
            Reporter: Vladislav Pyatkov


h3. Motivation
If an RO transaction starts and executes some scan operation than by some reason gets an exception, the sacn's cursor does not be close until the transaction is in closed state. The behaior is different for RW transaction, because RW transactions go to final state in case of any exception.
Althoug RO transaction does not have to be closed in case of exception in an operation, a scan cursor, that is opened driung the operation, is useless and can be closed.

h3. Definition of done
If RO transaction gets an exception during scan operation, the scan cursor have to be close after the exception is catched by the end user code.




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