Project

Profile

Help

Refactor #1989

closed

Refactor errata to be related to repositories

Added by semyers over 8 years ago. Updated over 5 years ago.

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

0%

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

Description

We have a lot of issues that relate to Errata that have served to greatly improve our understanding of Errata. We should apply this knowledge to the current Errata implementation, preferably in a way that works in harmony with the pending shift to a relational DB.

Without going too much into specifics, all of these issues lead me to believe that errata are really repository metadata, not content units. They are closely related to the packages in a repository, and our attempts to efficiently combine errata data into a single content unit that represents all known errata information across multiple repos have had a profound negative impact on errata publishing performance.

Currently, the errata unit key is just the errata_id. My proposed refactor is, if possible, to include repo_id in the identity of an errata. While this sounds simple (and it is, moving forward), what makes this tricky is backward compatability, and how to handle existing errata pre-refactor, which may not have any information that can be used to associate errata with their feed repositories.

Here are some of the issues, with #858 capturing a lot of the specifics about what errata really are, and some thoughts about how we should treat them:

https://pulp.plan.io/issues/858
https://pulp.plan.io/issues/1366
https://pulp.plan.io/issues/1548
https://pulp.plan.io/issues/1898
https://pulp.plan.io/issues/1949

Also available in: Atom PDF