Container Registry: Using a database to store metadata
To be able to implement online garbage collection (gitlab-org&2313 (closed)) and several other features (API pagination/querying/filtering, image labeling, etc.), we intend to use a database for storing the registry metadata instead of the filesystem.
We have proposed a schema in gitlab-org/gitlab#207147 (closed), and we need to choose a database type (relational vs document) and brand.
This change will be applicable for both GitLab.com and self-managed instances, and we believe that distribution, deployment and maintenance are main concerns. Considering this, we would like to involve the Distribution team in this discussion and get some feedback.
Please have a look at the issue description in gitlab-org/gitlab#207147 (closed) and also the two following comments:
Let me know if you need any more information.