Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-345

killTasks should not fail with "No jobs to kill" error

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Scheduler
    • None

    Description

      The way it's currently implemented the killTasks fails with INVALID_REQUEST when a provided query does not result in any tasks to kill. This complicates client processing (i.e. requires querying for tasks before killing) and is prone to race errors.

      Propose converting INVALID_REQUEST to OK but keeping the original message.

      Attachments

        Activity

          People

            maximk Maxim Khutornenko
            maximk Maxim Khutornenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: