Bug #12295

[nodemanager] Only looking at first 100 queued jobs

Added by Tom Morris about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
09/20/2017
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

I saw a case last night where there were 391 queued jobs (due to a different bug), but node manager was only looking at the first 100.

The offending line is

queuelist.extend(self._client.jobs().queue().execute()['items'])

History

#1 Updated by Tom Morris about 1 year ago

  • Target version changed from 2017-09-27 Sprint to 2017-10-11 Sprint

#2 Updated by Tom Morris about 1 year ago

  • Target version changed from 2017-10-11 Sprint to Arvados Future Sprints

#3 Updated by Peter Amstutz about 1 year ago

The queue is ordered this way by the API server:

  def queue
    params[:order] ||= ['priority desc', 'created_at']

Also available in: Atom PDF