Skip to content

Execute FK async validations as part of DB reindexing

Marius Bobin requested to merge 390651-mb-async-fk-validation-5 into master

What does this MR do and why?

Related to #390651 (closed)

It executes the queued foreign key validation instructions as part of database reindexing which executes every weekend. This is a temporary solution(results 😅), to unblock the partitioning of ci_builds table. I will iterate on this, by adding new rake tasks to execute the validations separately, but we need to changes to the deployment code and I'm not confident that it will be done by this weekend and we will need to wait around for the next weekend to execute them.

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