diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/docs/allowed_email_domains.yml | 13 | ||||
-rw-r--r-- | db/docs/group_custom_attributes.yml | 10 | ||||
-rw-r--r-- | db/docs/group_deletion_schedules.yml | 10 | ||||
-rw-r--r-- | db/docs/members.yml | 2 | ||||
-rw-r--r-- | db/docs/namespace_details.yml | 2 | ||||
-rw-r--r-- | db/docs/namespace_settings.yml | 2 | ||||
-rw-r--r-- | db/docs/project_authorizations.yml | 2 | ||||
-rw-r--r-- | db/docs/project_custom_attributes.yml | 10 | ||||
-rw-r--r-- | db/docs/project_settings.yml | 2 | ||||
-rw-r--r-- | db/docs/project_topics.yml | 10 | ||||
-rw-r--r-- | db/docs/projects.yml | 2 | ||||
-rw-r--r-- | db/docs/user_interacted_projects.yml | 10 | ||||
-rw-r--r-- | db/docs/users_star_projects.yml | 10 |
13 files changed, 77 insertions, 8 deletions
diff --git a/db/docs/allowed_email_domains.yml b/db/docs/allowed_email_domains.yml index 1ab2f3e1740..9c57efb6c3a 100644 --- a/db/docs/allowed_email_domains.yml +++ b/db/docs/allowed_email_domains.yml @@ -4,7 +4,16 @@ classes: - AllowedEmailDomain feature_categories: - groups_and_projects -description: Stores email domains for group, only members with email from those domains can be added to the group +description: Stores email domains for group, only members with email from those domains + can be added to the group introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/14800 milestone: '12.2' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + group_id: namespaces diff --git a/db/docs/group_custom_attributes.yml b/db/docs/group_custom_attributes.yml index 6fed09909c8..1e90187e232 100644 --- a/db/docs/group_custom_attributes.yml +++ b/db/docs/group_custom_attributes.yml @@ -7,4 +7,12 @@ feature_categories: description: Stores custom attributes per group introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/14593 milestone: '10.2' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + group_id: namespaces diff --git a/db/docs/group_deletion_schedules.yml b/db/docs/group_deletion_schedules.yml index a2e84582ccd..fbfca64b25d 100644 --- a/db/docs/group_deletion_schedules.yml +++ b/db/docs/group_deletion_schedules.yml @@ -7,4 +7,12 @@ feature_categories: description: TODO introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20276 milestone: '12.6' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + group_id: namespaces diff --git a/db/docs/members.yml b/db/docs/members.yml index 0d756c18d74..bf5422acbf0 100644 --- a/db/docs/members.yml +++ b/db/docs/members.yml @@ -11,3 +11,5 @@ description: Stores members per namespace introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/3503b504eabf95487fc3fb49df953a7d694da4fe milestone: '7.4' gitlab_schema: gitlab_main_cell +sharding_key: + member_namespace_id: namespaces diff --git a/db/docs/namespace_details.yml b/db/docs/namespace_details.yml index d434f580f1c..2027a8c9df9 100644 --- a/db/docs/namespace_details.yml +++ b/db/docs/namespace_details.yml @@ -8,3 +8,5 @@ description: Used to store details for namespaces introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/82958 milestone: '15.3' gitlab_schema: gitlab_main_cell +sharding_key: + namespace_id: namespaces diff --git a/db/docs/namespace_settings.yml b/db/docs/namespace_settings.yml index df723c37fdc..38e9852ea3f 100644 --- a/db/docs/namespace_settings.yml +++ b/db/docs/namespace_settings.yml @@ -8,3 +8,5 @@ description: Stores settings per namespace introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/36321 milestone: '13.2' gitlab_schema: gitlab_main_cell +sharding_key: + namespace_id: namespaces diff --git a/db/docs/project_authorizations.yml b/db/docs/project_authorizations.yml index 7e15b817122..a8fcc6a3061 100644 --- a/db/docs/project_authorizations.yml +++ b/db/docs/project_authorizations.yml @@ -9,3 +9,5 @@ description: Stores maximal access to the project per user introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/6839 milestone: '8.14' gitlab_schema: gitlab_main_cell +sharding_key: + project_id: projects diff --git a/db/docs/project_custom_attributes.yml b/db/docs/project_custom_attributes.yml index d3a5f0ea0a9..8d6e0fc2d6d 100644 --- a/db/docs/project_custom_attributes.yml +++ b/db/docs/project_custom_attributes.yml @@ -7,4 +7,12 @@ feature_categories: description: Stores custom attributes per project introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/14593 milestone: '10.2' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + project_id: projects diff --git a/db/docs/project_settings.yml b/db/docs/project_settings.yml index d9b1c68a0b9..10bb792b44b 100644 --- a/db/docs/project_settings.yml +++ b/db/docs/project_settings.yml @@ -8,3 +8,5 @@ description: Stores settings per project introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/a2a7ad291f64a5db74c1bc21fb556e6e8862d0f3 milestone: '10.8' gitlab_schema: gitlab_main_cell +sharding_key: + project_id: projects diff --git a/db/docs/project_topics.yml b/db/docs/project_topics.yml index 4343b440089..4074fd609c4 100644 --- a/db/docs/project_topics.yml +++ b/db/docs/project_topics.yml @@ -7,4 +7,12 @@ feature_categories: description: Stores topics per project relationship introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67574 milestone: '14.3' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + project_id: projects diff --git a/db/docs/projects.yml b/db/docs/projects.yml index 36dc32be0ea..080e5073487 100644 --- a/db/docs/projects.yml +++ b/db/docs/projects.yml @@ -27,3 +27,5 @@ schema_inconsistencies: - type: missing_indexes object_name: idx_projects_id_created_at_disable_overriding_approvers_false introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/137884 +sharding_key: + namespace_id: namespaces diff --git a/db/docs/user_interacted_projects.yml b/db/docs/user_interacted_projects.yml index 565dcdedf2c..c93a97bba8f 100644 --- a/db/docs/user_interacted_projects.yml +++ b/db/docs/user_interacted_projects.yml @@ -7,4 +7,12 @@ feature_categories: description: Tracks which projects a given user has actively interacted with introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/17327 milestone: '10.6' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + project_id: projects diff --git a/db/docs/users_star_projects.yml b/db/docs/users_star_projects.yml index fb5eda2d518..679743a0b69 100644 --- a/db/docs/users_star_projects.yml +++ b/db/docs/users_star_projects.yml @@ -7,4 +7,12 @@ feature_categories: description: Stores conection between users and project through staring action introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/714f7201d3362793d11f33793e5ef6dc83bdd2f0 milestone: '7.1' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + project_id: projects |