Project

General

Profile

Actions

Feature #8424

closed

teuthology-queue should work incrementally

Added by Greg Farnum almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
% 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.

Actions #1

Updated by Zack Cerza almost 10 years ago

  • Status changed from New to Resolved
  • Assignee set to Zack Cerza
Actions #2

Updated by Zack Cerza almost 10 years ago

  • Tracker changed from Fix to Feature
Actions

Also available in: Atom PDF