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

Pavel Pereslegin updated IGNITE-23441:
--------------------------------------
    Description: 
When IGNITE-23430 is completed, we need to integrate the use of the 
cancellation token into the script execution flow.

And cover script cancellation with tests.


  was:
When IGNITE-23430 is completed, we need to integrate the use of the 
cancellation token into the script execution flow.

We need to do two things in {{MultiStatementHandler#processNext}}:
1. before executing the next statement, check if the cancellationtoken is 
canceled, if it is, then abort the script execution
2. bind {{QueryCancel}} used for the statement with the cancellation token

And cover script cancellation with tests.



> Cancellation of script execution
> --------------------------------
>
>                 Key: IGNITE-23441
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23441
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Pavel Pereslegin
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When IGNITE-23430 is completed, we need to integrate the use of the 
> cancellation token into the script execution flow.
> And cover script cancellation with tests.



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

Reply via email to