Commit bf4c2242 authored by Andreas Brandl's avatar Andreas Brandl

Remove lock-retries from replace table helper

parent c39d5bd1
......@@ -431,7 +431,7 @@ module Gitlab
replace_table = Gitlab::Database::Partitioning::ReplaceTable.new(original_table_name.to_s,
replacement_table_name, replaced_table_name, primary_key_name)
with_lock_retries do
transaction do
drop_sync_trigger(original_table_name)
replace_table.perform do |sql|
......
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