Actions
Issue #7898
closedNo-op copy operations perform a lot of unnecessary work
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.21.5
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
If search criteria were provided but no matching content units were found, nothing can possibly be copied by Pulp, so we can exit early.
Currently, we go through the motions anyway, which is extremely demanding on the host system.
Updated by pulpbot about 4 years ago
Added by dalley about 4 years ago
Updated by dalley about 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp_rpm:651ea938d8ff5696301df34d988e6c86bccd949a.
Updated by ipanova@redhat.com about 4 years ago
- Project changed from Pulp to RPM Support
Added by dalley almost 4 years ago
Revision 5c5055b6 | View on GitHub
Add an optimization for empty copy operations
If we know there can be nothing copied, exit early rather than doing useless work.
closes: #7898 https://pulp.plan.io/issues/7898 (cherry picked from commit 651ea938d8ff5696301df34d988e6c86bccd949a)
Updated by ggainey almost 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Add an optimization for empty copy operations
If we know there can be nothing copied, exit early rather than doing useless work.
closes: #7898 https://pulp.plan.io/issues/7898