S Designate existing project_id or group_id as sharding key on CI tables
There have been some automated MRs to designate sharding keys on CI tables, e.g. Add sharding keys for code_testing (!142119 - merged), however not all CI tables have this added yet. We'll need to do this for all our tables.
Tables that need this done:
- ci_builds
- ci_builds_metadata
- ci_minutes_additional_packs (namespace_id)
- ci_pipeline_schedules
- ci_pipelines
- ci_runner_namespaces (namespace_id)
- ci_runner_projects
- ci_sources_pipelines
- ci_stages
- ci_triggers
Edited by drew stachon