Commit 81ce9d97 authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'fix_repository_updated_service_allowlist' into 'master'

Use correct allowlister for cross-db modifications

See merge request gitlab-org/gitlab!79606
parents f3608eca 62f920db
...@@ -20,7 +20,7 @@ module Geo ...@@ -20,7 +20,7 @@ module Geo
def execute def execute
return false unless Gitlab::Geo.primary? return false unless Gitlab::Geo.primary?
::Gitlab::Database.allow_cross_joins_across_databases(url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/351271') do ::Gitlab::Database::QueryAnalyzers::PreventCrossDatabaseModification.allow_cross_database_modification_within_transaction(url: 'https://gitlab.com/gitlab-org/gitlab/-/issues/351271') do
reset_repository_checksum! reset_repository_checksum!
create_repository_updated_event! create_repository_updated_event!
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