Skip to content

Added lowercase to the actual con-reg api call

What does this MR do and why?

The deduplicated_size API only allows lowercase path in the uri, if the path is in uppercase the API results in 404.

This was identified as part of debugging a migration that backfilled container-registry-size for project_statistics here

An initial fix MR was deployed for the same.

But while checking a new backfill migration status on staging as part of https://gitlab.com/gitlab-org/gitlab/-/issues/368112, I saw uppercase characters still present in self_with_descendants API paths. This should fix that

Screenshot_2022-08-22_at_5.50.40_PM

This is important to merged before we "start" this migration on production.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Suraj Tripathi

Merge request reports

Loading