Project

Profile

Help

Issue #1789

Sync fills up /var/cache/pulp/ with rpms

Added by mhrivnak over 4 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.7.1
Platform Release:
2.8.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

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.

Associated revisions

Revision 4b132682 View on GitHub
Added by mhrivnak over 4 years ago

RPMs and DRPMs get removed from /var/cache/pulp immediately after import

https://pulp.plan.io/issues/1789

fixes #1789

History

#1 Updated by mhrivnak over 4 years ago

  • Status changed from ASSIGNED to POST

#2 Updated by mhrivnak over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#3 Updated by semyers over 4 years ago

  • Status changed from MODIFIED to 5

#4 Updated by pthomas@redhat.com over 4 years ago

  • Status changed from 5 to 6

verified that the /var/cache/pulp is not filling up during sync.

#5 Updated by semyers over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#7 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF