Skip to content

Step 1 of !28996: Adds models and migrations for Namespaces statistics

Mayra Cabrera requested to merge 62214-migrations-and-models into master

What does this MR do?

First part of https://gitlab.com/gitlab-org/gitlab-ce/issues/62214. These new models will be used on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28996.

Models added:

  • Namespace::RootStoragestatistics will store the root namespace statistics in an aggregated form.
  • Namespace::AggregationSchedule will save a new row when an update to the Namespace::RootStorageStatistics needs to be scheduled.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

#62214 (closed)

Edited by Douglas Barbosa Alexandre

Merge request reports