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 2022/09/11 20:45:00 UTC

[jira] [Updated] (IGNITE-17666) Scan subscription cancel does not close a server side cursor

     [ https://issues.apache.org/jira/browse/IGNITE-17666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladislav Pyatkov updated IGNITE-17666:
---------------------------------------
    Labels: ignite3  (was: )

> Scan subscription cancel does not close a server side cursor
> ------------------------------------------------------------
>
>                 Key: IGNITE-17666
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17666
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite3
>
> After cursor was changed in IGNITE-17309, the cancel operation does not close a cursor opened on a remote node. This proposes to close all resources when the corresponding transaction commits.
> But it is still worth to close a cursor just after all data scanned or when a client invokes a cancel manually. This has no meaning for implicit transactions, because the those transactions are closed just after the scan complete.
> The server side logic is already implemented, for close a cursor required to send a close message through the replication layer. The close message (look at {_}ScanCloseReplicaRequest{_}) should be sent after a subscriber is received a last one batch of entries or _Subscription#cancel_ is invoked.
>  



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