Skip to content

[PR #8086/66ea16ce backport][3.85] Speed up RepositoryVersion saves on add/remove content - #8092

Merged
gerrod3 merged 1 commit into
3.85from
patchback/backports/3.85/66ea16ce236bce27f6a2088dedab2d98096c2ef0/pr-8086
Sep 11, 2026
Merged

[PR #8086/66ea16ce backport][3.85] Speed up RepositoryVersion saves on add/remove content#8092
gerrod3 merged 1 commit into
3.85from
patchback/backports/3.85/66ea16ce236bce27f6a2088dedab2d98096c2ef0/pr-8086

Conversation

@patchback

@patchback patchback Bot commented Sep 11, 2026

Copy link
Copy Markdown

This is a backport of PR #8086 as merged into main (66ea16c).

Was asking sol to take a look at our RepoContent/content_ids problem and it pointed this out. Postgres can't optimize the update to be on the HOT path since the indexes become targets without specifying the fields, or so the AI says. Can't hurt

Assisted-by: gpt-5.6-sol

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

Assisted-by: gpt-5.6-sol
(cherry picked from commit 66ea16c)
@gerrod3
gerrod3 merged commit c167b26 into 3.85 Sep 11, 2026
14 checks passed
@gerrod3
gerrod3 deleted the patchback/backports/3.85/66ea16ce236bce27f6a2088dedab2d98096c2ef0/pr-8086 branch September 11, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants