Issue #9387
closedDepsolving computes repoclosure once per-rpm being copied
Description
Unlike Pulp2, Pulp3 on-copy depsolving is computing repoclosure on the destination repo once per RPM copied . It only takes 1s to compute - but when copying 10K rpms, that adds up, in both CPU and memory.
Related issues
Updated by ggainey about 3 years ago
The reason this is happening is that we addressed https://pulp.plan.io/issues/6820. My contention is tha the bahvior called out by 6820 is in fact correct. On copy, what we try to insure is repoclosure for yum/dnf's sake - if you issue "dnf install foo" should result in the latest version of foo being installed.
Note that Pulp2 depsolving code currently also only does repo-closure on the final repo - see https://github.com/pulp/pulp_rpm/blob/2-master/plugins/pulp_rpm/plugins/importers/yum/pulp_solv.py#L987-L990
Updated by ggainey about 3 years ago
- Copied to Backport #9388: Backport "Depsolving computes repoclosure once per-rpm being copied" to 3.14.z added
Updated by pulpbot about 3 years ago
- Status changed from ASSIGNED to POST
Added by ggainey about 3 years ago
Updated by ggainey about 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset 4594deb84fb8df9a8ba131daacc2f7d98626d456.
Updated by dalley about 3 years ago
- Has duplicate Issue #9335: Huge memory consumption when performing depsolving-enabled copies added
Updated by pulpbot about 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Fix depsolving perf-issues by doing repoclosure once.
fixes #9387. [nocoverage]