Skip to content

Draft: Rebalance CI partitions

Marius Bobin requested to merge 387301-add-ci-partitioning-rebalance into master

What does this MR do and why?

Explores how to update partition_id id for the records affected in incident 8204.

Usage:

bin/bundle exec rake ci:partitioning:rebalance[100, 1, 200]

where 100 is the desired partition and (1, 200) represent the range of pipelines to be updated.

Related to #387301 (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