[Backport] Only check pending migrations if indexing enabled
What does this MR do and why?
Original MR: !179300 (merged)
Backporting this fix because I think it comes up in good bit of customer support cases
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
This MR is backporting a bug fix, documentation update, or spec fix, previously merged in the default branch. -
The MR that fixed the bug on the default branch has been deployed to GitLab.com (not applicable for documentation or spec changes). -
This MR has a severity label assigned (if applicable). -
Set the milestone of the merge request to match the target backport branch version. -
This MR has been approved by a maintainer (only one approval is required). -
Ensure the e2e:test-on-omnibus-ee
job has either succeeded or been approved by a Software Engineer in Test.
Note to the merge request author and maintainer
If you have questions about the patch release process, please:
- Refer to the patch release runbook for engineers and maintainers for guidance.
- Ask questions on the
#releases
Slack channel (internal only).
Merge request reports
Activity
added groupglobal search typebug labels
assigned to @terrichu
changed milestone to %17.8
added devopsfoundations sectioncore platform labels
added pipelinetier-1 label
added backend label
1 Warning The e2e:test-on-omnibus-ee
job needs to succeed or have approval from a Software Engineer in Test.
Read the "QA e2e:test-on-omnibus-ee" section for more details.1 Message CHANGELOG missing: If this merge request needs a changelog entry, add the
Changelog
trailer to the commit message you want to add to the changelog.If this merge request doesn't need a CHANGELOG entry, feel free to ignore this message.
Reviewer roulette
Category Reviewer Maintainer backend @dillonwheeler
(UTC-5, same timezone as author)
@sashi_kumar
(UTC+0, 5 hours ahead of author)
Please refer to documentation page for guidance on how you can benefit from the Reviewer Roulette, or use the GitLab Review Workload Dashboard to find other available reviewers.
QA
e2e:test-on-omnibus-ee
@terrichu, the
e2e:test-on-omnibus
job must complete before merging this merge request.*If there are failures on the
e2e:test-on-omnibus
pipeline, ping your team's associated Software Engineer in Test (SET) to confirm the failures are unrelated to the merge request. If there's no SET assigned, ask for assistance on the#test-platform
Slack channel.If needed, you can retry the
danger-review
job that generated this comment.Generated by
DangerEdited by ****E2E Test Result Summary
allure-report-publisher
generated test report!e2e-test-on-omnibus:
test report for 3a740620expand test summary
+---------------------------------------------------------------------+ | suites summary | +----------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +----------------+--------+--------+---------+-------+-------+--------+ | Package | 102 | 0 | 56 | 0 | 158 | ✅ | | Monitor | 36 | 0 | 49 | 0 | 85 | ✅ | | Data Stores | 145 | 0 | 41 | 0 | 186 | ✅ | | Verify | 204 | 0 | 76 | 0 | 280 | ✅ | | Create | 561 | 0 | 89 | 0 | 650 | ✅ | | Govern | 355 | 0 | 32 | 0 | 387 | ✅ | | Plan | 329 | 0 | 32 | 0 | 361 | ✅ | | Release | 20 | 0 | 4 | 0 | 24 | ✅ | | Manage | 31 | 0 | 44 | 0 | 75 | ✅ | | Analytics | 9 | 0 | 0 | 0 | 9 | ✅ | | Fulfillment | 10 | 0 | 28 | 0 | 38 | ✅ | | Configure | 1 | 0 | 12 | 0 | 13 | ✅ | | Secure | 19 | 1 | 9 | 0 | 29 | ❌ | | GitLab Metrics | 2 | 0 | 1 | 0 | 3 | ✅ | | Systems | 6 | 0 | 1 | 0 | 7 | ✅ | | ModelOps | 0 | 0 | 4 | 0 | 4 | ➖ | | Ai-powered | 1 | 0 | 8 | 0 | 9 | ✅ | | Growth | 0 | 0 | 8 | 0 | 8 | ➖ | +----------------+--------+--------+---------+-------+-------+--------+ | Total | 1831 | 1 | 494 | 0 | 2326 | ❌ | +----------------+--------+--------+---------+-------+-------+--------+
e2e-test-on-gdk:
test report for 3a740620expand test summary
+------------------------------------------------------------------+ | suites summary | +-------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +-------------+--------+--------+---------+-------+-------+--------+ | Package | 24 | 0 | 14 | 0 | 38 | ✅ | | Configure | 0 | 0 | 3 | 0 | 3 | ➖ | | Create | 135 | 0 | 23 | 0 | 158 | ✅ | | Verify | 50 | 0 | 20 | 1 | 70 | ✅ | | Plan | 82 | 0 | 8 | 0 | 90 | ✅ | | Data Stores | 33 | 0 | 10 | 0 | 43 | ✅ | | Manage | 1 | 0 | 9 | 0 | 10 | ✅ | | Govern | 80 | 0 | 12 | 0 | 92 | ✅ | | Release | 5 | 0 | 1 | 0 | 6 | ✅ | | Secure | 4 | 0 | 3 | 0 | 7 | ✅ | | Monitor | 8 | 0 | 12 | 0 | 20 | ✅ | | Fulfillment | 2 | 0 | 7 | 0 | 9 | ✅ | | Analytics | 2 | 0 | 0 | 0 | 2 | ✅ | | ModelOps | 0 | 0 | 1 | 0 | 1 | ➖ | | Ai-powered | 0 | 0 | 2 | 0 | 2 | ➖ | | Growth | 0 | 0 | 2 | 0 | 2 | ➖ | +-------------+--------+--------+---------+-------+-------+--------+ | Total | 426 | 0 | 127 | 1 | 553 | ✅ | +-------------+--------+--------+---------+-------+-------+--------+
Edited by ****added 7 commits
-
5383f244...1296e702 - 6 commits from branch
17-8-stable-ee
- 3a740620 - Merge branch 'tchu-fix-rake-tasks-for-obsolete-migrations' into 'master'
-
5383f244...1296e702 - 6 commits from branch
@sdungarwal would you mind the maintainer review for this backport?
requested review from @sdungarwal
added pipeline:mr-approved label
added pipelinetier-3 pipeline:run-e2e-omnibus-once labels and removed pipelinetier-1 label
Before you set this MR to auto-merge
This merge request will progress on pipeline tiers until it reaches the last tier: pipelinetier-3. We will trigger a new pipeline for each transition to a higher tier.
Before you set this MR to auto-merge, please check the following:
- You are the last maintainer of this merge request
- The latest pipeline for this merge request is pipelinetier-3 (You can find which tier it is in the pipeline name)
- This pipeline is recent enough (created in the last 8 hours)
If all the criteria above apply, please set auto-merge for this merge request.
See pipeline tiers and merging a merge request for more details.
- Resolved by Siddharth Dungarwal
@sdungarwal
, thanks for approving this merge request.This is the first time the merge request has been approved. Please ensure the
e2e:test-on-omnibus-ee
job has succeeded. If there is a failure, a Software Engineer in Test (SET) needs to confirm the failures are unrelated to the merge request. If there's no SET assigned to this team, ask for assistance on the#test-platform
Slack channel.
changed milestone to %17.9
added missed:17.8 label
removed pipeline:run-e2e-omnibus-once label
- Resolved by Siddharth Dungarwal
@terrichu Thee2e:test-on-omnibus-ee
child pipeline has failed.-
e2e:test-on-omnibus-ee
pipeline: https://gitlab.com/gitlab-org/gitlab/-/pipelines/1656479330
e2e:test-on-omnibus-ee
pipeline is allowed to fail due its flakiness. Failures should be investigated to guarantee this backport complies with the Quality standards.Ping your team's associated Software Engineer in Test (SET) to confirm the failures are unrelated to the merge request. If there's no SET assigned, ask for assistance on the
#test-platform
Slack channel. -
started a merge train
mentioned in commit 22c86b6d