Project

General

Profile

Actions

Bug #8384

closed

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

Added by Evgeny Novikov over 7 years ago. Updated almost 7 years 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.

Actions #1

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

Actions #2

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

Actions #3

Updated by Vladimir Gratinskiy about 7 years ago

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

Actions #4

Updated by Evgeny Novikov almost 7 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.

Actions #5

Updated by Ilja Zakharov almost 7 years ago

  • Status changed from Resolved to Verified

Added support to the scheduler and verified.

Actions #6

Updated by Ilja Zakharov almost 7 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF