Source Code: Add sharding keys to all your cell local tables
Overview
Related issue: Discover Cells 1.0 impact for source_code (#434974 - closed)
Add sharding keys to all your cell local tables, see the documentation and progress dashboard.
- All tables with the following gitlab_schema are considered “cell-local”:
gitlab_main_cell
gitlab_ci
The issue is partially blocked by Source Code: Classify your tables under the dif... (#440139) because the gitlab schema must be identified first and most of the tables still have gitlab_main
while all of them must be either gitlab_main_call
or gitlab_main_clusterwide
Tables
ToDo
Table | Schema | Sharding Key |
---|---|---|
fork_networks | gitlab_main_cell |
|
lfs_object_states | gitlab_main |
|
lfs_objects | gitlab_main |
|
programming_languages | gitlab_main |
|
protected_branch_merge_access_levels | gitlab_main_cell |
|
protected_branch_push_access_levels | gitlab_main_cell |
|
protected_branch_unprotect_access_levels | gitlab_main |
|
push_rules | gitlab_main_cell |
|
required_code_owners_sections | gitlab_main |
|
snippet_repositories | gitlab_main |
|
snippet_statistics | gitlab_main |
|
snippet_user_mentions | gitlab_main |
|
snippets | gitlab_main |
|
x509_certificates | gitlab_main |
|
x509_issuers | gitlab_main |
Fixed
Edited by Vasilii Iakliushin