Skip to content

Switch current partition_id value to 101

Marius Bobin requested to merge mb-switch-to-partition-101 into master

What does this MR do and why?

For the p_ci_builds_metadata table we have two partitions:

  • ci_builds_metadata FOR VALUES IN ('100')
  • gitlab_partitions_dynamic.ci_builds_metadata_101 FOR VALUES IN ('101')

with this MR we will be able to switch the reads and writes to the second one and put a stop to the growth of the ci_builds_metadata table.

related to #387810 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Marius Bobin

Merge request reports