Bug #18032
Regression: Syncing large Library of content from Katello to Proxy takes hours even if no content changes
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1388296
In 6.1 you can re-sync a large Library from Satellite to Capsule in under an hour
With 6.2 it can take 6+ hours to re-sync even if there are no content changes.
We need to get this back in line with 6.1's performance.
Related issues
Associated revisions
History
#1
Updated by John Mitsch over 5 years ago
- Assignee set to John Mitsch
- Target version set to 157
#2
Updated by Justin Sherrill over 5 years ago
- Legacy Backlogs Release (now unused) set to 114
#3
Updated by Brad Buckingham over 5 years ago
- Target version changed from 157 to 163
#4
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Legacy Backlogs Release (now unused) deleted (
114) - Pull request https://github.com/Katello/katello/pull/6597 added
#5
Updated by Eric Helms over 5 years ago
- Subject changed from Regression: Syncing large Library of content from Satellite to Capsule takes hours even if no content changes to Regression: Syncing large Library of content from Katello to Proxy takes hours even if no content changes
- Legacy Backlogs Release (now unused) set to 211
#6
Updated by Eric Helms over 5 years ago
- Has duplicate Bug #18434: On CVV promotion, don't update revision number on a repo in pulp if no content has changed added
#7
Updated by Eric Helms over 5 years ago
- Has duplicate Bug #18435: Have a way to force metadata regeneration added
#8
Updated by John Mitsch over 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|8b4e78db1f5fa8fd88605ee06cf98333f9e89a9c.
Fixes #18032 - Skip pulp metadata regeneration on CVV promote
If nothing has changed, we have no reason to regenerate metadata
in the pulp repo. The way things currently are we regenerate the
metadata (even if nothing has changed in the repo) and it is
slowing down Smart Proxy Content syncs. Not regenerating the metadata
will take full advantage of certain optimizations in pulp making
these Smart Proxy syncs much faster.
This commit adds an option to force the metadata regeneration,
it is a checkbox called "Force Metadata Regeneration" on
Content View publish and promote.