[ https://issues.apache.org/jira/browse/IGNITE-22062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839537#comment-17839537 ]
Vladislav Pyatkov commented on IGNITE-22062: -------------------------------------------- Merged 0978749e4ef96a9717c34968f7707f538b9c20bc > 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: 20m > 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)