Skip to content

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

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

[PR #8086/66ea16ce backport][3.105] Speed up RepositoryVersion saves on add/remove content#8094
dralley merged 1 commit into
3.105from
patchback/backports/3.105/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 enabled auto-merge (rebase) September 11, 2026 15:44
@dralley
dralley merged commit d0a2baa into 3.105 Sep 11, 2026
14 checks passed
@dralley
dralley deleted the patchback/backports/3.105/66ea16ce236bce27f6a2088dedab2d98096c2ef0/pr-8086 branch September 11, 2026 15:48
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