Skip to content

Removed upload_size from storage_size

What does this MR do and why?

Removes upload_size from storage_size calculation.

We currently track upload_size on project_statistics records, which get added to the project_statistics#storage_size total column.

This column is then used at the root namespace level within the RootStorageStatistics which is the total storage across a namespace.

ref: https://gitlab.com/gitlab-org/gitlab/-/issues/367995

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