gitlab-org--gitlab-foss/spec/lib/gitlab/database
Stan Hu b6125f7045 Fix fast admin counters not working when PostgreSQL has secondaries
This commit does a number of things:

1. Reduces the number of queries needed by perform a single query to get all
the tuples for the relevant rows.

2. Uses a transaction to query the tuple counts to ensure that the data
is retrieved from the primary.

Closes #46742
2018-05-25 22:58:43 -07:00
..
rename_reserved_paths_migration
count_spec.rb Fix fast admin counters not working when PostgreSQL has secondaries 2018-05-25 22:58:43 -07:00
grant_spec.rb
median_spec.rb
migration_helpers_spec.rb New migration helper for finding custom indexes 2018-03-28 14:12:08 +02:00
multi_threaded_migration_spec.rb
sha_attribute_spec.rb [Rails5] Update `type_cast_*_database` methods 2018-04-06 10:57:19 +00:00