[
https://issues.apache.org/jira/browse/IGNITE-22062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-22062:
---------------------------------------
Description:
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.
was:
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.
> 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
> Priority: Major
> Labels: ignite-3
>
> 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)