Using the ErrataRelatedModelSaver can result in creating incomplete content.
The insert of errata and all of its related tables need to be committed atomically. A fatal exception or worker crash between stages can result in storing an incomplete Errata.
Use ContentUnitSaver _post_save hook
The ErrataRelatedModelSaver stage is instead repurposed as a subclass of the ContentUnitSaver stage. This is currently the best way for related objects to be saved within the same transaction.
Required PR: https://github.com/pulp/pulp/pull/3621
Please register to edit this issue