[
https://issues.apache.org/jira/browse/IGNITE-22062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov reassigned IGNITE-22062:
------------------------------------------
Assignee: Vladislav Pyatkov
> 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
> Assignee: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
> Time Spent: 10m
> Remaining Estimate: 0h
>
> h3. Motivation
> If an RO transaction starts and executes some scan operation, and, for some
> reason, the scan cursor does not close until the transaction is in a final
> state. The behavior is different for RW transactions because RW transactions
> go to the final state in case of any exception.
> Although an RO transaction does not have to be closed in the case of an
> exception in an operation, a scan cursor that is opened during the operation,
> is useless and can be closed.
> h3. Definition of done
> If an RO transaction gets an exception during a scan operation, the scan
> cursor has to be closed after the exception is caught by the end user code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)