Include wiki_size and storage_size in NamespaceStatistics
What does this MR do?
In this MR, we include wiki_size
and storage_size
in NamespaceStatistics
, and also several callbacks to update these columns when certain actions happen.
This MR does not include though the external actions that trigger the update of NamespaceStatistics
. This MR only handles the behavior of NamespaceStatistics
if it already exists.
The code is very similar to ProjectStatistics
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Separation of EE specific content
Related to #230465 (closed)
Edited by Francisco Javier López (ex-Gitlab)