Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3112

The job 'Pause' operation has logic bug in the kylin server.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • v2.2.0
    • v2.3.0
    • Job Engine
    • Patch

    Description

      1. Click the 'Pause' item, although the result is successful, when you expand the action, you will also find the 'Pause' item. refer to job_click_pause.png
      2. When you click 'Pause' item again( the second click), when the result is successful, then you expand the action, you will find the 'Pause' item has changed to 'Resume'. refer to job_click_pause_again.png

      I checked the logic code of job pause in kylin server, I found the job status changed to new status in the metadata storage, but not changed in JobInstance which would be sent to client, so the client got the old job status.
      Then you clicked 'Pause' item again, the JobInstance would be fetched from the metadata storage, so it was the new one, then the client woud get the new job status.
      So I fixed it, please check the patch, thanks!

      Attachments

        1. 0001-KYLIN-3112-The-job-Pause-operation-has-logic-bug-in-.patch
          1 kB
          peng.jianhua
        2. job_click_pause_again.png
          49 kB
          peng.jianhua
        3. job_click_pause.png
          48 kB
          peng.jianhua

        Activity

          People

            peng.jianhua peng.jianhua
            peng.jianhua peng.jianhua
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: