Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[noissue] These changes SHOULD have been part of commit: c2de7cc The changes do 3 separate things: * Fix a critical bug where repo_content_to_update batches were not cleared after bulk_update! * Added some extra logging for each batch of PRC that is successfully updated. This helps distinguish between cases where the migration is taking a long time because there are a lot of PRC to update, and cases where the migration is simply stuck. * Added an order_by on one querry to greatly improve the real world efficiency of the migration. The result is that we always keep the oldest of a set of colliding ReleaseComponents, since these generally have the most packages associated with them, resulting in fewer associations that need to be updated. In case of Debian main components this can mean processing only 10s of packages instead of around 50k!
- Loading branch information