[
https://issues.apache.org/jira/browse/IGNITE-17659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-17659:
---------------------------------------
Description:
The _InternalTable#scan_ method has issue for implicit transaction when the
scan command returns more roes than place in one page:
Currently, the implicit transaction creates when the first page is requested
and close when the result is returned. In other words, the entries returned can
contain only a first page of entire result for implicit transaction.
Implicit transaction should be started at the first retrieve batch request is
sent. The transaction shouldn't be closed until the subscriber reads to the end
or _Subscription#cancel_ is not invoked.
was:
The _InternalTable#scan_ method has two issues:
The API does not work correctly for implicit transaction.
Implicit transaction should be started at the first retrieve batch request is
sent. The transaction shouldn't be closed until the subscriber reads to the end
or _Subscription#cancel_ is not invoked.
> Table Scan returns incorrect result for multipl pages implicit transactions
> ---------------------------------------------------------------------------
>
> Key: IGNITE-17659
> URL: https://issues.apache.org/jira/browse/IGNITE-17659
> Project: Ignite
> Issue Type: Improvement
> Reporter: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
>
> The _InternalTable#scan_ method has issue for implicit transaction when the
> scan command returns more roes than place in one page:
> Currently, the implicit transaction creates when the first page is requested
> and close when the result is returned. In other words, the entries returned
> can contain only a first page of entire result for implicit transaction.
> Implicit transaction should be started at the first retrieve batch request is
> sent. The transaction shouldn't be closed until the subscriber reads to the
> end or _Subscription#cancel_ is not invoked.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)