Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
v2.2.0
-
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!