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
Updated by daviddavis about 5 years ago
- Sprint/Milestone changed from 3.0.0 to 71
Updated by amacdona@redhat.com about 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
This is a feature, not a bug.
If content belongs to any repository version, it should not be considered an orphan because users should be able to roll back to all previous repository versions, which is only possible if that content isn't deleted.
Actions