Bug 2005153 - Add option to Bug.search to allow fetching only bug IDs
Summary: Add option to Bug.search to allow fetching only bug IDs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: WebService
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified with 1 vote
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Utkarsh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-16 23:35 UTC by Jeff Fearn 🐞
Modified: 2021-11-03 00:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-03 00:10:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeff Fearn 🐞 2021-09-16 23:35:09 UTC
Description of problem:
A lot of the overhead in fetching bugs is the ORM, it's possible to bypass this and just fetch the bug ids. As this would be useful for some use cases a parameter to limit the search to returning the raw bug IDs should be added.

Version-Release number of selected component (if applicable):
5.0.6-rh61

How reproducible:
Always

Steps to Reproduce:
1. try ab fetch a list of bug IDs without activating the ORM.

Actual results:
You can't, so the search result set is limited by pod resourcing.

Expected results:
You can, so the result set is limited by database resourcing.

Additional info:

Comment 2 Jeff Fearn 🐞 2021-11-03 00:10:53 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.


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