Commit 9b34f6cb authored by Andy Soiron's avatar Andy Soiron

Merge branch 'mk/fix-separate-verification-state-table-method' into 'master'

Geo: Fix undefined separate_verification_state_table?

See merge request gitlab-org/gitlab!78293
parents 55e27263 17bb757f
......@@ -53,12 +53,6 @@ module Geo
.primary_key_in(range)
.pluck_primary_key
end
# @return whether primary checksum data is stored in a table separate
# from the model table
def separate_verification_state_table?
verification_state_table_name != table_name
end
end
end
end
......@@ -200,6 +200,12 @@ module Geo
verification_state_table_class.arel_table
end
# @return whether primary checksum data is stored in a table separate
# from the model table
def separate_verification_state_table?
verification_state_table_name != table_name
end
def verification_timed_out_batch_query
return verification_timed_out unless separate_verification_state_table?
......
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