New issue
Advanced search Search tips

Issue 907294 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

qscheduler: rework the NotifyTask mechanism in qslib so that it unqueues tasks

Project Member Reported by akes...@chromium.org, Nov 21

Issue description

qslib/scheduler exposes a NotifyTask call that allows you to specify that a task is idle, and a separate call to specify that it is aborted. This was based on the initial guess at the right behavior for the scheduler, in which tasks are moved back to the queue immediately when they are preempted, and in which in general we assume that tasks should be enqueued unless we know otherwise.

Following up to  Issue 900664 , the desired behavior is really that tasks should be removed from the scheduler's queue when they are preempted. Swarming will then inform us once the tasks are re-enqueued, and scheduler will do so.
 
Owner: akes...@chromium.org
Status: Assigned (was: Untriaged)
Labels: qscheduler

Sign in to add a comment