Geo - Project removal leaves orphaned data on container registry

Summary

When a project is deleted or removed from selective sync, Geo leaves data on the container registry behind.

Steps to reproduce

  1. Enable the Docker Registry replication in GDK;
  2. Create a project;
  3. Push an image to the container registry;
  4. Wait for the replication to finish;
  5. Delete the project above or enable the selective sync on the group level that does not include the project created in the step above;
  6. Wait for the replication to finish;
  7. Use the commands in https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/master/doc/howto/registry.md#interacting-with-the-local-container-registry to list the images on the container registry running on the secondary node;
Assignee Loading
Time tracking Loading