Actions
Issue #5426
closedorphan cleanup does not properly find orphaned content
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Orphan clean up needs to find all content that is not in any repository version. The current query[0] considers content NOT orphaned if it has ever been in any repository version. The query needs to take into consideration the 'version_added' and 'version_removed' fields[1].
[0] https://github.com/pulp/pulpcore/blob/master/pulpcore/app/tasks/orphan.py#L10-L11
[1] https://github.com/pulp/pulpcore/blob/master/pulpcore/app/models/repository.py#L175-L179
Actions