Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
Description
At the moment we have 3 types of cancelable "activities".
- SQL query
- Transaction
- Compute job
Any of these process can be cancelled (killed) using SQL KILL query.
We need to design and implement a handler (KillQueryHandler?) that will add the ability for external components (TransactionManager, IgniteComputeImpl, etc) to register as a cancellation listener.
Overall, the cancellation of any such "process" consists of the following steps:
- if the process is local - cancel it
- send a message to other cluster nodes to cancel the process
Note: IgniteCompute already has a cancelAsync method for cancelling compute jobs (need to keep in mind how to integrate with it)
Attachments
Issue Links
- blocks
-
IGNITE-23488 Sql. Integrate cancellation of transaction with sql kill handler
- Open
-
IGNITE-23493 Provide integration with QueryProcessor
- Resolved
-
IGNITE-23499 Integrate cancellation of compute job with sql kill handler
- Resolved
- is blocked by
-
IGNITE-23433 Sql. Introduce KILL statements
- Resolved
- links to