Refresh storage size after flushing counter attributes
What does this MR do and why?
Refresh storage size after flushing counter attributes, instead of incrementing it as a counter attribute.
This change makes storage_size
to always be the sum of its parts, rather than its own counter.
This is part of an effort to keep build_artifacts_size
and storage_size
in sync across ProjectStatistics
and NamespaceStatistics
.
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #372998
Edited by Albert