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 Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
count_spec.rb Fix fast admin counters not working when PostgreSQL has secondaries 2018-05-25 22:58:43 -07:00
grant_spec.rb Fix TRIGGER checks for MySQL 2017-11-06 23:34:07 +01:00
median_spec.rb Adapt cycle analytics spec helper and cycle analytics usage data spec 2018-03-01 16:43:26 +00:00
migration_helpers_spec.rb New migration helper for finding custom indexes 2018-03-28 14:12:08 +02:00
multi_threaded_migration_spec.rb Prepare for zero downtime migrations 2017-04-12 18:15:19 +02:00
sha_attribute_spec.rb [Rails5] Update type_cast_*_database methods 2018-04-06 10:57:19 +00:00