Commit bdd95740 authored by Thong Kuah's avatar Thong Kuah

Allowlist cross-db modification for geo and ci_job_artifacts

parent 9c7b8ae6
......@@ -27,7 +27,9 @@ module EE
end
def insert_geo_event_records(artifacts)
::Geo::JobArtifactDeletedEventStore.bulk_create(artifacts)
::Gitlab::Database::QueryAnalyzers::PreventCrossDatabaseModification.allow_cross_database_modification_within_transaction(url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/351849') do
::Geo::JobArtifactDeletedEventStore.bulk_create(artifacts)
end
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment