Skip to content

fix: Use gitlab_sec for vuln_remediation bulk insert

Lucas Charles requested to merge fix-x-db-transaction-in-ingest-remedations into master

What does this MR do and why?

This was missed when migrating vulnerability_remediations to gitlab_sec but the connection proxy should ensure we are fetching from the right DB.

Relates to #481330

Looks like it's the only one thankfully 🎉 :

❯ rg 'class .+< ApplicationRecord' ee/app/services/security/**/*.rb
ee/app/services/security/ingestion/tasks/ingest_remediations.rb
21:        class RemediationBulkInsertProxy < ApplicationRecord

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Lucas Charles

Merge request reports

Loading