Bug #8384
closed
Bridge allows to start job decisions before they are properly canceled by Native Scheduler
Added by Evgeny Novikov about 7 years ago.
Updated almost 7 years ago.
Description
After canceling a job decision Bridge soon returns a new job page with a proper status. In addition, users can immediately start a job decision again. But the previous job decision wasn't likely canceled by Native Scheduler since it needs some time. So, such sequence of actions result in strange consequences.
I suggest either do not send status pending until the scheduler confirms that it have cancelled the job or block starting solution buttons for a user waiting for the same confirmation from the scheduler.
- Priority changed from High to Urgent
- Target version set to 2.0
Indeed this issue can cause restarting Native Scheduler assuming that all properly solving jobs to be terminated. So, let's avoid these races as soon as possible.
- Due date set to 12/18/2017
- Status changed from New to Resolved
- % Done changed from 0 to 100
I've added new status "Cancelling" which will be set for jobs after pressing button "Cancel decision" until scheduler confirm that job is cancelled. It should be done in request "get_jobs_and_tasks". As before in field data["jobs"]["cancelled"]
there will be cancelled jobs' identifiers. But scheduler should add identifiers of cancelled (confirmed that cancelled) jobs here. And "Cancelling" jobs would become "Cancelled" after this. These cahnges are done in branch "fix_8632" together with #8632 and #8626.
- Target version changed from 2.0 to 1.0
As far as we postpone Klever version:0.3, let's include this issue there.
- Status changed from Resolved to Verified
Added support to the scheduler and verified.
- Status changed from Verified to Closed
Also available in: Atom
PDF