Skip to content

Resolve "Database schema diff 4 - (source) Missing partial index for ci_builds in the source (index_ci_builds_project_id_and_status_for_live_jobs_partial)"

Lin Jen-Shin requested to merge 53994-add-missing-ci_builds-partial-indices into master

What does this MR do?

Add two missing partial index for ci_builds. This is done according to https://gitlab.com/gitlab-org/gitlab-ce/issues/53994#note_119005184

  • We might want to use a better name, but that's what we're using on production at the moment.
  • I don't know if this works on MySQL or not? The SQL syntax doesn't seem to work on MySQL is my impression.
  • Each migration addition is in its own commit.

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53994

Does this MR meet the acceptance criteria?

Closes #53994 (closed)

Edited by Lin Jen-Shin

Merge request reports