Commit 37e151c9 authored by Adam Hegyi's avatar Adam Hegyi

Re-add shuffling for LFK cleanup

This change restores the table shuffling to ensure even processing of
deleted records.
parent 539108d3
......@@ -52,7 +52,7 @@ module LooseForeignKeys
end
def tracked_tables
@tracked_tables ||= Gitlab::Database::LooseForeignKeys.definitions_by_table.keys
@tracked_tables ||= Gitlab::Database::LooseForeignKeys.definitions_by_table.keys.shuffle
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