Define sharding key for cluster_platforms_kubernetes table
Summary
The cluster_platforms_kubernetes table currently has desired_sharding_key defined but is missing the sharding_key_issue_url attribute. This issue tracks the work needed to implement the sharding key for this table.
Table Information
-
Table name:
cluster_platforms_kubernetes -
Schema:
gitlab_main_org -
Desired sharding keys:
-
project_id(references projects) -
group_id(references namespaces) -
organization_id(references organizations)
-
-
Backfill strategy: Via parent table
clusters
Tasks
- Queue backfill migration for the sharding key
-
Add
desired_sharding_key_migration_job_nameto the table documentation - Verify sharding key implementation
- Update documentation
Related
- Related epic: &11670
- Similar work: #581115 (closed)
Edited by 🤖 GitLab Bot 🤖