Make sure FlushRepoTask
deletes all the entities related to Repository
#1134
Closed
Description
After reviewing the FlushRepoTask it's clear that some objects that should be deleted are not being cleaned up. This task consists of making sure everything is properly deleted.
You'll notice that the task deletes things table by table instead of relying on cascades of the database. This is done to reduce the number of records deleted in each transaction, reducing the total time of the query. We've had issues with queries running too long before, so we prefer to have many queries that run faster.
This task list might not be complete, but includes known objects that need to be deleted within the task. Check the image below (pretty big) for the relationship of different tables that are related to repos
.
Metadata
Assignees
Labels
No labels