Commit 62f920db authored by Thong Kuah's avatar Thong Kuah Committed by Dylan Griffith

Use correct allowlister for cross-db modifications

parent 959ca0df
......@@ -20,7 +20,7 @@ module Geo
def execute
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!
create_repository_updated_event!
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