Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23440

Provide internal API for external components to register itself as kill handler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 3.0
    • sql

    Description

      At the moment we have 3 types of cancelable "activities".

      1. SQL query
      2. Transaction
      3. 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

          Activity

            People

              xtern Pavel Pereslegin
              xtern Pavel Pereslegin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h 10m
                  6h 10m