Dump ClickHouse schema on migrate/rollback

What does this MR do and why?

  • Adds a dump CH schema rake task (rake gitlab:clickhouse:dump:main)
  • Runs it when CH database is migrated/rolled back

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to gitlab-org/analytics-section/siphon#137 (closed)

Merge request reports

Loading