Project

General

Profile

Bug #8384

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

Added by Evgeny Novikov over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Urgent
Category:
Bridge
Target version:
Start date:
08/24/2017
Due date:
12/18/2017
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

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.

History

#1

Updated by Ilja Zakharov over 1 year 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.

#2

Updated by Evgeny Novikov over 1 year 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.

#3

Updated by Vladimir Gratinskiy over 1 year 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.

#4

Updated by Evgeny Novikov about 1 year 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.

#5

Updated by Ilja Zakharov about 1 year ago

  • Status changed from Resolved to Verified

Added support to the scheduler and verified.

#6

Updated by Ilja Zakharov about 1 year ago

  • Status changed from Verified to Closed

Also available in: Atom PDF