Registry cleanup service gets stuck when bulk deleting tags in large container repository

Summary

A customer with over 10,000+ tags in a registry is attempting to use the API to delete tags in bulk, but no images ever get deleted. Running the service manually also hangs.

Digging into our service looks like we're loading all the tags and then ordering them when the service runs. We could run them in batches instead of all at once.

https://gitlab.zendesk.com/agent/tickets/117958

Edited Apr 10, 2019 by Cindy Pallares 🦉
Assignee Loading
Time tracking Loading