Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-04 01:44:35 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-04 01:44:35 +0300
commit96722e6de1c1f91f62f9ee645c5ad3ec7b05282c (patch)
treed80ec8b3505fc3055cc8d7ed7f864edc831b7119 /db
parentb2a2fb69e663aabd66fe2fe8696c49e68c2fbe02 (diff)
Add latest changes from gitlab-org/gitlab@15-7-stable-ee
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20220920180451_schedule_vulnerabilities_feedback_migration.rb19
1 files changed, 4 insertions, 15 deletions
diff --git a/db/post_migrate/20220920180451_schedule_vulnerabilities_feedback_migration.rb b/db/post_migrate/20220920180451_schedule_vulnerabilities_feedback_migration.rb
index 35f7a5dcdb6..e5e16e5d0dc 100644
--- a/db/post_migrate/20220920180451_schedule_vulnerabilities_feedback_migration.rb
+++ b/db/post_migrate/20220920180451_schedule_vulnerabilities_feedback_migration.rb
@@ -14,23 +14,12 @@ class ScheduleVulnerabilitiesFeedbackMigration < Gitlab::Database::Migration[2.0
restrict_gitlab_migration gitlab_schema: :gitlab_main
def up
- queue_batched_background_migration(
- MIGRATION,
- TABLE_NAME,
- BATCH_COLUMN,
- job_interval: DELAY_INTERVAL,
- batch_size: BATCH_SIZE,
- max_batch_size: MAX_BATCH_SIZE,
- sub_batch_size: SUB_BATCH_SIZE
- )
+ # no-op
+ # Removing this migration due to subtransactions created. See discussion in
+ # https://gitlab.com/gitlab-org/gitlab/-/issues/386494#note_1217986034
end
def down
- delete_batched_background_migration(
- MIGRATION,
- TABLE_NAME,
- BATCH_COLUMN,
- []
- )
+ # no-op
end
end