Bug #8384

Bridge allows to start job decisions before they are properly canceled by Native Scheduler

Added by Evgeny Novikov over 3 years ago. Updated about 3 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Detected in build:
Published in build:


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.



Updated by Ilja Zakharov over 3 years ago

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.


Updated by Evgeny Novikov about 3 years ago

  • 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.


Updated by Vladimir Gratinskiy about 3 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved
  • Due date set to 12/18/2017

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.


Updated by Evgeny Novikov about 3 years ago

  • Target version changed from 2.0 to 1.0

As far as we postpone Klever version:0.3, let's include this issue there.


Updated by Ilja Zakharov about 3 years ago

  • Status changed from Resolved to Verified

Added support to the scheduler and verified.


Updated by Ilja Zakharov about 3 years ago

  • Status changed from Verified to Closed

Also available in: Atom PDF