Skip to content
Snippets Groups Projects

Add sharding keys for code_review_workflow

Add sharding keys for feature category code_review_workflow.

These tables have been identified as cell local tables.

All cell local tables require a sharding key.

A sharding key has been automatically selected for these tables. The sharding key was chosen because it is a NOT NULL column referencing either projects or namespaces.

Additionally, gitlab_schema has been set to gitlab_main_cell for any tables didn't use this schema already. For these tables we have also added allow_cross_joins, allow_cross_transactions and allow_cross_foreign_keys. These will silence any existing violations, allowing the pipeline to pass without requiring further changes. In the future, we'll remove these allow_... statements and fix any violations as they arise. You can read more about this in the documentation for multiple databases

We have assigned a random backend engineer from groupcode review to review these changes. Please confirm that each table should indeed be cell local, and that the selected column is an appropriate sharding key. When you are finished, please request a review from the database maintainer suggested by Danger.

If you have any questions or concerns, reach out to @tigerwnz or @DylanGriffith.

This change was generated by gitlab-housekeeper

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • François Rosé mentioned in epic &12795

    mentioned in epic &12795

  • Kerri Miller approved this merge request

    approved this merge request

  • Kerri Miller resolved all threads

    resolved all threads

  • Kerri Miller resolved all threads

    resolved all threads

  • Kerri Miller added 2755 commits

    added 2755 commits

    • f0ad99cc...89d61215 - 2754 commits from branch master
    • f6fa2e1c - Merge branch 'master' into 'determine-sharding-key-feature-category-code_review_workflow'

    Compare with previous version

  • Kerri Miller requested review from @tigerwnz and @manojmj

    requested review from @tigerwnz and @manojmj

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading