Bug #31427
closedIncremental update should depsolve only on repos containing units
Description
Incremental update in general does the following
1) Creates a new x.y content view version
2) Clones repos belonging to cvv x.0 to x.y
3) Separately copies the interested content units (errata_ids and package_ids) from the library instance of the repos to the x.y repos
Step 3 involves turning on depsolving which is a fairly expensive operation
Moreover for incremental update we run this copy operation on each repo and include the rest of the repos as "siblings" or "additional_repos"
This means if there are 6 repos in content view and we want to incrementally update an errata, we will go through all 6 and run copy with depsolve and additional repos
We need to make this smarter and only do the copy of the depsolve If the errata_id or package_id belong to that repo. i.e. if there are 6 repos and I want to incrementally update foo-errata, and if foo-errata is only present in 1 repo, we only need to incrementally update there.
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/9061 added
Updated by Jonathon Turel about 4 years ago
- Target version set to Katello 3.18.1
- Triaged changed from No to Yes
Updated by The Foreman Bot about 4 years ago
- Fixed in Releases Katello 4.1.0 added
Updated by Partha Aji about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|44e6d9119d55a98469586d285c7ace69d2cd8763.