Bug 971953

Summary: Remove units spikes memory consumption for large collections
Product: [Retired] Pulp Reporter: Jay Dobies <jason.dobies>
Component: rpm-supportAssignee: Jay Dobies <jason.dobies>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.2 BetaKeywords: Triaged
Target Milestone: ---   
Target Release: 2.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-10 15:44:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jay Dobies 2013-06-07 16:38:51 UTC
This is similar to the fix we had to add to copy to have the client scope the unit fields that are loaded. Like copy, the ultimate solution will be to move the units loading out of the platform and into the plugin itself.

Comment 1 Jay Dobies 2013-06-10 13:43:11 UTC
https://github.com/pulp/pulp_rpm/pull/236

Comment 2 Jeff Ortel 2013-06-11 14:15:45 UTC
build: 2.2.0-0.3.beta

Comment 3 Jay Dobies 2013-06-12 18:48:41 UTC
Pretty simple to verify. Copy an entire repository into another, the idea being to seed it with a ton of things that can be removed. Then remove everything from the destination repository.

Comment 4 Preethi Thomas 2013-06-19 17:40:31 UTC
verified

[root@ibm-x3550m3-13 ~]# rpm -q pulp-server
pulp-server-2.2.0-0.4.beta.fc18.noarch

[root@ibm-x3550m3-13 ~]# pulp-admin rpm repo remove errata --repo-id rhel-copy --after 2013-06-18
This command may be exited via ctrl+c without affecting the request.

[-]
Waiting to begin...

[|]
Running...

Summary:
  erratum: 1048

[root@ibm-x3550m3-13 ~]#

Comment 5 Preethi Thomas 2013-09-10 15:44:41 UTC
2.2 released
http://repos.fedorapeople.org/repos/pulp/pulp/stable/2.2/