Skip to content

Add ClickHouse table siphon for namespaces

Felipe Cardozo requested to merge fa-add_clickhouse_siphon_for_namespaces into master

What does this MR do and why?

Add ClickHouse table siphon for namespaces

Creates siphon_namespaces table on ClickHouse as a clone of PG namespaces table.

related to gitlab-org/analytics-section/siphon#26

MR acceptance checklist

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

How to set up and validate locally

  1. Run bundle exec rake gitlab:clickhouse:migrate
  2. Setup siphon and map PG namespaces table to siphon_namespaces CH table following these instructions.
  3. Insert new records into namespaces using UI os Rails console
  4. Check if record has been created on CH siphon_namespaces table
Edited by Felipe Cardozo

Merge request reports

Loading