Issue #1789
closedSync fills up /var/cache/pulp/ with rpms
Description
Originally reported by a user here: https://www.redhat.com/archives/pulp-list/2016-March/msg00041.html
In 2.6 (and earlier), at the completion of each rpm download, the file would be moved from its temporary location to a permanent location. That means for any given sync, you would never have more files in that temporary location than you did concurrent downloads. Using the default setting of 5 concurrent downloads, that's a maximum of 5 rpms. No problem so far.
This change turned the "move" into a "copy":
https://github.com/pulp/pulp_rpm/commit/de1895ede2f24731dcf6f52321beaee6b71c15a4
Now all of the rpm files pile up, and they don't get removed until the end of the task. On quick glance, it appears that 2.8 suffers the same problem, although the code has been refactored.
Updated by mhrivnak about 7 years ago
- Status changed from ASSIGNED to POST
Added by mhrivnak about 7 years ago
Updated by mhrivnak about 7 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset 4b132682e607977b1e1dcb4a7005e9f22fe671fa.
Updated by pthomas@redhat.com almost 7 years ago
- Status changed from 5 to 6
verified that the /var/cache/pulp is not filling up during sync.
Updated by semyers almost 7 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
RPMs and DRPMs get removed from /var/cache/pulp immediately after import
https://pulp.plan.io/issues/1789
fixes #1789