Storage usage of parent group does not include storage used within all subgroups/projects
Summary
On a parent group under Usage Quota
-> Storage
the Total namespace storage used does not include all the storage used within subgroups and subprojects. Having checked the graphql request within the network tab, I could see the actual storage being used (rootStorageStatistics
-> storageSize
) which was much bigger. Even waiting for 24 hours for the UI to refresh did not help solve the issue.
Steps to reproduce
- Go to a group containing subgroups and subprojects
- Go to
Settings
->Usage Quota
->Storage
- Compare the
Total namespace storage used
with the storage used within subgroups and projects. The numbers did not add up
Example Project
What is the current bug behavior?
On a parent group under Usage Quota
-> Storage
the storage utilization does not include all the storage used within subgroups and subprojects.
What is the expected correct behavior?
The number shown under Usage Quota
-> Storage
should be a sum of all the storage used within subgroups/projects.
Relevant logs and/or screenshots
Output of checks
This happens on GitLab.com
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)