45c7008078
This prevents us from creating a massive join when there are a large number of tags in the repository, which can result in locking the entire DB for long periods of time. Instead of the join, we just iteratively lookup any images found to be directly referenced by a tag or found as a parent of another image, both of which should be indexed lookups. Once done, we only remove those images and then iterate until the working set stops changing. |
||
---|---|---|
.. | ||
interfaces | ||
migrations | ||
model | ||
oci_model | ||
test | ||
users | ||
__init__.py | ||
archivedlogs.py | ||
billing.py | ||
buildlogs.py | ||
database.py | ||
fields.py | ||
queue.py | ||
read_slave.py | ||
runmigration.py | ||
text.py | ||
userevent.py | ||
userfiles.py |