-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve performance of the advanced copy task for structured content #870
Comments
I recall now why we chose to pull all the architectures along. |
Internal tracker: OR-3153 |
closes pulp#870 Also fix a minor bug where the structured copy would always copy all ReleaseArchitecture content from the source repo, regardless of whether it was needed.
closes pulp#870 Also fix a minor bug where the structured copy would always copy all ReleaseArchitecture content from the source repo, regardless of whether it was needed.
Currently the way
pulp_deb
handles the advanced copy for structured content is inefficient. It fetches all the content and filters out what we don't want. As a side effect it will always include all architectures from the sourceRepositoryVersion
despite which ones the packages are actually using.It even creates a new
RepositoryVersion
on the target with just theReleaseArchitectures
if no packages are selected for the content (it should not copy in anything in that case nor create a newRepositoryVersion
).It should be possible to improve the performance by better querying the database.
The text was updated successfully, but these errors were encountered: