Project

Profile

Help

Task #2953

closed

Need a solution for updating shared artifact references.

Added by jortel@redhat.com over 6 years ago. Updated over 3 years ago.

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

0%

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

Description

Since artifacts are shared, there will be cases where a newly downloaded Artifact is referenced by more than one ContentArtifact. The component that creates the Artifact could be an importer, upload or task related to deferred downloading. It will be doing so with knowledge of a specific remote artifact (aka DeferredArtifact, RemoteArtifact, ..) but won't know about other references. But the other references can be found and updated by searching remote artifact by digest. Then, update the associated ContentArtifacts.

The how/where this update gets run is still unaccounted for. This mainly (maybe only) affects deferred downloading users.

A few approaches might be:

  1. The deferred downloading task could update other references after creating an artifact.
  2. Add a save signal handler to the artifact. The handler would perform the update described above.
  3. We could add a created field on Attribute. Then have a periodic task search for artifacts created since the task last ran and ensure all references are updated.
  4. Other?
Actions #1

Updated by dkliban@redhat.com over 6 years ago

  • Groomed changed from No to Yes
Actions #2

Updated by amacdona@redhat.com over 5 years ago

I think this might be handled by https://pulp.plan.io/issues/4060

Actions #3

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)
Actions #4

Updated by daviddavis over 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Also available in: Atom PDF