Project

General

Profile

Actions

Bug #31427

closed

Incremental update should depsolve only on repos containing units

Added by Partha Aji about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Partha Aji about 4 years ago

  • Bugzilla link set to 1829266
Actions #2

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
Actions #3

Updated by Jonathon Turel about 4 years ago

  • Target version set to Katello 3.18.1
  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases Katello 4.1.0 added
Actions #5

Updated by Partha Aji about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF