Inconsistent container registry storage statistics
Problem
There have been a couple of reports about unexpected container registry storage usage statistics, namely:
-
https://gitlab.com/gitlab-com/support/internal-requests/-/issues/16024 (internal): The size of container repositories is not correctly displayed in UI. Even after cleaning up the repositories, the UI is not updating the registry usage.
-
&5523 (comment 1092134573): "Some root namespaces have more storage than their aggregate projects. We are also seeing a handful of namespaces with some namespace level storage and no project storage, as well as some with the opposite".
-
https://gitlab.com/gitlab-com/support/internal-requests/-/issues/16450 (Internal): The size of container repositories is not correctly displayed in UI, even after cleaning up the repositories, and triggering a statistics recalculation.
This requires an investigation.