Project

General

Profile

Feature #8424

teuthology-queue should work incrementally

Added by Greg Farnum about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
05/21/2014
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:

Description

Right now, getting any information out of teuthology-queue requires fetching all the jobs in the queue before it outputs anything. My most frequent use case when querying the queue is to:
1) see how far down in the queue my suite run is, or
2) to see if I have any jobs left for a particular run which haven't been initiated.

This takes a while when there are hundreds or thousands of jobs for teuthology-queue to query, but if what I actually want to know can be answered by looking at the first 20 jobs, it's a waste of a lot of queries and a long wait. beanstalk_list_plana behaved this way and it was more useful as a result.

History

#1 Updated by Zack Cerza about 5 years ago

  • Status changed from New to Resolved
  • Assignee set to Zack Cerza

#2 Updated by Zack Cerza about 5 years ago

  • Tracker changed from Fix to Feature

Also available in: Atom PDF