Bug 850908 - Add pagination to /consumers
Add pagination to /consumers
Product: Candlepin
Classification: Community
Component: candlepin (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: candlepin-bugs
Eric Sammons
Depends On:
  Show dependency treegraph
Reported: 2012-08-22 13:09 EDT by Vincent Batts
Modified: 2015-05-14 10:52 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-10-02 13:25:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vincent Batts 2012-08-22 13:09:24 EDT
Description of problem:
Presently, with over 41,000 consumers
  """SELECT COUNT(1) FROM `cp_consumer`;"""
the '/consumers' call never returns. 
(It will keep the HTTP session alive though :-)

Version-Release number of selected component (if applicable):
0.5.x and 0.7.3

How reproducible:

Steps to Reproduce:
1. Have a ton of consumers ( > 41000 )
2. call /consumers
Actual results:
never returns

Expected results:
A list of consumers. Potentially segmenting the expected results with pagination parameters.

Additional info:

Note You need to log in before you can comment on or make changes to this bug.