Project

Profile

Help

Story #236

closed

Don't re-download rpms if they exist on disk

Added by jsherril@redhat.com almost 10 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
2.9.3
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Documentation, Pulp 2
Sprint:
Sprint 7
Quarter:

Description

If a content unit exists on disk but is not on the DB, Pulp re-downloads the content at sync time.

Pulp should instead recognize that a rpm plugin unit (rpm, srpm, drpm, distribution) is on disk and use that to create the unit in the database from. The result would be that content which exists on disk is not re-downloaded.

Steps to Reproduce:
1. Sync a large repo
2. Watch it take a while
3. Clear your mongo db
4. rerun pulp-manage-db
5. Sync the same repo
6. Watch it take the same amount of time (all the files are on the file system, so it should take the same amount of time)


Related issues

Related to Pulp - Issue #2177: download_repo task fails to mark some units as downloadedCLOSED - WONTFIXActions
Blocked by Pulp - Task #1600: Store content using consistent and deterministic pathsCLOSED - CURRENTRELEASE

Actions
Blocked by Pulp - Task #1601: Migrate /var/lib/pulp/content to new 2.8 storage paths.CLOSED - CURRENTRELEASEjortel@redhat.com

Actions

Also available in: Atom PDF