Project

Profile

Help

Issue #5426

closed

orphan cleanup does not properly find orphaned content

Added by dkliban@redhat.com about 5 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
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 #1

Updated by daviddavis about 5 years ago

  • Sprint/Milestone changed from 3.0.0 to 71
Actions #2

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 #3

Updated by bmbouter about 5 years ago

  • Sprint/Milestone changed from 71 to 3.0.0

Also available in: Atom PDF