Bug #28039
closedContent View publish with dep solve and no filters adds recursive flag
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1750811
Description of problem:
During a content view publish, Katello directs Pulp to copy contents between 2 repos.
Now if the "solve dependencies" is set on the content view, Katello automatically sets "recursive_conservative: true" when that copy operation is executed.
This recursive_conservative flag is set even if no filters were specified on the content view. Meaning it could potentially end up dep solving in all rpms in a repo instead of just a subset. This could unnecessarily slow down the publish times (since depsolve takes a much longer time).
Version-Release number of selected component (if applicable):
Nightly
How reproducible:
100%
Steps to Reproduce:
1. Have a content view with solve dependencies set to true and no filters
2. Add a large repo to the cv
3. Publish
Actual results:
Publish that takes much longer even though there are no filters.
Expected results:
Publish that takes about the same time as publish without dep solving
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ian Ballou
- Pull request https://github.com/Katello/katello/pull/8382 added
Updated by The Foreman Bot over 5 years ago
- Fixed in Releases Katello 3.14.0 added
Updated by Anonymous over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|6efbd9745e07f5873e51a1079fbc7cc058c318c3.
Updated by Samir Jha over 5 years ago
- Subject changed from Content View publish with dep solve and no filters adds recursive flag to Content View publish with dep solve and no filters adds recursive flag
- Target version set to Katello 3.14.0
- Triaged changed from No to Yes