Skip to content

Still validate sharding_key even if the table is not cell-local yet

What does this MR do and why?

This is because we might want to add the sharding_key before we move a table to gitlab_main_cell. Changing the gitlab_schema to gitlab_main_cell also requires fixing cross-joins and foreign keys which is independent work so we'd probably want to decouple these tasks.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading