Skip to content

Bug 2053504 - Need to add index to tracking_flags_values table for better performance from /bzapi/bug and REST search#2665

Open
dklawren wants to merge 2 commits into
mozilla-bteam:masterfrom
dklawren:2053504
Open

Bug 2053504 - Need to add index to tracking_flags_values table for better performance from /bzapi/bug and REST search#2665
dklawren wants to merge 2 commits into
mozilla-bteam:masterfrom
dklawren:2053504

Conversation

@dklawren

@dklawren dklawren commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new database index to improve query performance when looking up tracking flag values (notably impacting /bzapi/bug and REST search paths that touch tracking_flags_values).

Changes:

  • Add a non-unique index on tracking_flags_values.tracking_flag_id.
  • Update the TrackingFlags extension’s abstract schema to declare the new index.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread extensions/TrackingFlags/Extension.pm
Comment thread extensions/TrackingFlags/Extension.pm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants