Skip to content

Add sharding key to issue/jira/zentao tracker tables

What does this MR do and why?

This MR adds group_id/project_id/organization_id foreign keys to issue_tracker_data/jira_tracker_data/zentao_tracker_data in order to shard this table as part of Cells architecture. Now every time one of these integrations is created, the data_fields association should have appropriate sharding key set.

Note: data migration to backfill older records and set not null constraint is going to be done in the future MR(s).

References

#524678 (closed)

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading