Skip to content
Mohamed Hamda requested to merge storage_size_removal_poc into master

What does this MR do and why?

This MR is a proof of concept in: https://gitlab.com/gitlab-org/gitlab/-/issues/421746

This MR marks the initial step in a series aimed at removing the storage_size column in project statistics and substituting it with a dynamic method.

  • Add storage_size_components_for_sql_queries method
  • Add storage_size_for_sql_queries method
  • Adjust scopes and usage of storage_size as a POC for instances and queries
  • Adjust/Add specs for changes

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 Mohamed Hamda

Merge request reports