Skip to content

Draft: CI decomposition PoC

Kamil Trzciński requested to merge rails-6-1-ci-split into transform-database-yml

This MR is becoming impossible to navigate, especially the diff. Closing, and opening a new MR in !67486 (closed)

What does this MR do?

This tries to:

  • split and drop all CI tables from the main database
  • break FKs (and make it clear)
  • make models to use a dedicated logical database for CI

Related to:

If you were asked to evaluate the impact on your team

Please see &6289 (closed) as it describes at a higher level what this MR is trying to do and why we are asking other teams to understand what impact it might have on the features you maintain. This MR is huge and it may not be worthwhile immediately trying to understand the code but at a high level we just need teams to help us detect situations where things may break when we move CI tables to a separate database. This MR shows examples of how we will fix many of the simple problems and we're extracting issues when we detect slightly more complicated queries that need to be fixed.

Edited by Thong Kuah

Merge request reports