Commit 2abed3eb authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'allowlist_geo_in_destroy_batch_service' into 'master'

Allowlist cross-db modification for geo and ci_job_artifacts

See merge request gitlab-org/gitlab!79805
parents 16bd2926 bdd95740
...@@ -27,7 +27,9 @@ module EE ...@@ -27,7 +27,9 @@ module EE
end end
def insert_geo_event_records(artifacts) 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 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