Project

Profile

Help

Story #7835

Repair feature should remove unrepairable corrupted file

Added by ipanova@redhat.com 10 months ago. Updated 10 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

In case repair feature cannot repair a corrupted file because RemoteArtifact is missing or in case url is not longer valid, it should remove from the fs the corrupted file

(06:27:25 PM) ipanova: dalley: maybe before returning False we could just remove the unrepaired corrupted file from the FS https://github.com/pulp/pulpcore/pull/991/files#diff-03bf88cd6f4c5051a7b1478ba05ea63287e7bb4c29feb00413b80ba35d22ccf2R73
(06:28:05 PM) dalley: +1

History

#1 Updated by ipanova@redhat.com 10 months ago

  • Project changed from Migration Plugin to Pulp

#2 Updated by ipanova@redhat.com 10 months ago

This should also be cleaned up in the django populate-missing-checksums command since it is using some parts of the repair feature

#3 Updated by fao89 10 months ago

  • Tracker changed from Issue to Story
  • % Done set to 0
  • Severity deleted (2. Medium)
  • Triaged deleted (No)

#4 Updated by dalley 10 months ago

We should consider if we can/should do anything else in case it is a repository metadata artifact.

Please register to edit this issue

Also available in: Atom PDF