Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2697

Pause injections should pause indefinitely until signalled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 1.0.0
    • Execution - Flow
    • None

    Description

      Currently injected pauses make threads sleep for a specified time. This can be an enhanced to stop the thread indefinitely using a CountDownLatch. It is quite similar to how cancellation works.

      Tasks:
      (a) Add another message to RPC layer to signal paused remote threads to resume (through ControlHandler) by counting down. Complications if the thread has not reached the pause site yet.
      (b) Add resume signal (like ctrl-c) to sqlline
      (further enhancement: another signal to trigger pause from sqlline)

      Attachments

        1. DRILL-2697.5.patch.txt
          116 kB
          Sudheesh Katkam
        2. DRILL-2697.1.patch.txt
          85 kB
          Sudheesh Katkam

        Issue Links

          Activity

            People

              cchang@maprtech.com Chun Chang
              sudheeshkatkam Sudheesh Katkam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: