Actions
Task #1339
closedStory #1150: As a user, I can lazily fetch repositories
Purge the lazy catalog and deferred downloads when a orphaned unit is removed.
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
2.8.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Purge the lazy catalog and deferred downloads when a orphaned unit is removed.
Related issues
Actions
The lazy catalog is purged during an orphan purge.
This change appears in both the mongoegine version and the non-mongoengine version of the "delete orphan by type" method because although lazy is only supported by mongoengine types, the
delete_orphan_by_id
method works with mongoengine types and calls the non-mongoegine version of "delete orphan by type".It also updates the mongoengine version of "delete by type" to match the signature of the non-mongoengine version.
closes #1339