Skip to content
代码片段 群组 项目
未验证 提交 8e30858d 编辑于 作者: Adam Hegyi's avatar Adam Hegyi 提交者: GitLab
浏览文件

Merge branch...

Merge branch 'determine-desired-sharding-key-feature-category-value_stream_management' into 'master' 

Add desired sharding keys for value_stream_management

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/143923



Merged-by: default avatarAdam Hegyi <ahegyi@gitlab.com>
Approved-by: default avatarAdam Hegyi <ahegyi@gitlab.com>
Approved-by: default avatarcharlie ablett <cablett@gitlab.com>
Reviewed-by: default avatarAlexandru Croitor <acroitor@gitlab.com>
Reviewed-by: default avatarcharlie ablett <cablett@gitlab.com>
Co-authored-by: default avatarManoj M J <mmj@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -7,4 +7,19 @@ feature_categories: ...@@ -7,4 +7,19 @@ feature_categories:
description: Stores settings for each value stream. description: Stores settings for each value stream.
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/132650 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/132650
milestone: '16.5' milestone: '16.5'
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
desired_sharding_key:
namespace_id:
references: namespaces
backfill_via:
parent:
foreign_key: value_stream_id
table: analytics_cycle_analytics_group_value_streams
sharding_key: group_id
belongs_to: value_stream
...@@ -7,4 +7,19 @@ feature_categories: ...@@ -7,4 +7,19 @@ feature_categories:
description: Tracks the assignment and unassignment events for issues description: Tracks the assignment and unassignment events for issues
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/117379 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/117379
milestone: '15.11' milestone: '15.11'
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
desired_sharding_key:
namespace_id:
references: namespaces
backfill_via:
parent:
foreign_key: issue_id
table: issues
sharding_key: namespace_id
belongs_to: issue
...@@ -7,4 +7,19 @@ feature_categories: ...@@ -7,4 +7,19 @@ feature_categories:
description: Store various metrics for issues. description: Store various metrics for issues.
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/516c838a1846d049814765afa85c28a3c14a5b9f introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/516c838a1846d049814765afa85c28a3c14a5b9f
milestone: '8.12' milestone: '8.12'
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
desired_sharding_key:
namespace_id:
references: namespaces
backfill_via:
parent:
foreign_key: issue_id
table: issues
sharding_key: namespace_id
belongs_to: issue
...@@ -7,4 +7,19 @@ feature_categories: ...@@ -7,4 +7,19 @@ feature_categories:
description: Tracks the assignment and unassignment events for merge requests description: Tracks the assignment and unassignment events for merge requests
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/117379 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/117379
milestone: '15.11' milestone: '15.11'
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
desired_sharding_key:
project_id:
references: projects
backfill_via:
parent:
foreign_key: merge_request_id
table: merge_requests
sharding_key: target_project_id
belongs_to: merge_request
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册