This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/data/model
Joseph Schorr 45c7008078 Change Repo GC to be iterative
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.
2017-06-27 17:33:58 +03:00
..
test Move GC tests into pytest 2017-06-27 17:33:58 +03:00
__init__.py Add repo purge callbacks and register TUF metadata deletion as one 2017-04-12 17:33:51 -04:00
_basequery.py Merge pull request #2607 from coreos-inc/faster-security-notify 2017-05-03 13:49:13 -04:00
blob.py Add a cleanup worker for blob uploads 2017-03-16 13:36:59 -04:00
build.py Resolve race condition between multiple log archivers 2017-04-24 13:41:08 -04:00
health.py Fix health check 2017-02-24 12:23:18 -05:00
image.py Remove inner query for ancestors lookup on get_matching_tags 2017-04-28 20:10:54 -04:00
label.py fix(endpoints): added in proper error handling 2017-06-21 16:59:48 -04:00
log.py refactor(model/log): pull allowed action types into constant 2017-04-07 11:39:54 -04:00
message.py Severity and Markdown support in MOTD 2017-01-18 16:55:32 -05:00
modelutil.py Fix pagination of repositories 2016-08-15 16:48:04 -04:00
notification.py feat(full-stack): disable notifications after 3 failures 2017-05-19 16:58:46 -04:00
oauth.py Refactor our auth handling code to be cleaner 2017-03-23 15:42:45 -04:00
organization.py Optimize lookup of org membership on prototype and perms APIs 2017-05-08 14:03:59 -04:00
permission.py Add repo permissions dialog for existing teams and robots 2016-08-22 14:43:12 -04:00
release.py Formatting and syntax improvements 2016-01-19 14:56:02 -05:00
repository.py Change Repo GC to be iterative 2017-06-27 17:33:58 +03:00
repositoryactioncount.py Small fixes found by running full db tests 2017-04-24 16:45:15 -04:00
service_keys.py Fix key server to not list expired keys 2016-05-03 17:58:47 -04:00
sqlalchemybridge.py Full text support in peewee 2017-01-31 11:38:31 -05:00
storage.py Add a batch get_matching_tags_for_images method 2017-05-02 15:38:25 -04:00
tag.py Clarify comment and make pairs code a little nicer 2017-05-03 11:41:39 -04:00
team.py Small renames to make team syncing code more clear 2017-04-03 11:36:41 -04:00
token.py Accidental refactor, split out legacy.py into separate sumodules and update all call sites. 2015-07-17 11:56:15 -04:00
user.py If enabled, allow users and orgs to set their time machine expiration 2017-04-21 11:32:45 -04:00