Skip to content

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

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

[PR #8086/66ea16ce backport][3.117] Speed up RepositoryVersion saves on add/remove content#8093
dralley merged 1 commit into
3.117from
patchback/backports/3.117/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)
@dralley
dralley merged commit 49ed5bb into 3.117 Sep 11, 2026
25 of 27 checks passed
@dralley
dralley deleted the patchback/backports/3.117/66ea16ce236bce27f6a2088dedab2d98096c2ef0/pr-8086 branch September 11, 2026 16:27
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