gitlab-org--gitlab-foss/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 [Rails5] Fix Arel::UpdateManager 2018-04-29 12:54:58 +11:00
arel_methods.rb [Rails5] Fix Arel::UpdateManager 2018-04-29 12:54:58 +11:00
count.rb Fix fast admin counters not working when PostgreSQL has secondaries 2018-05-25 22:58:43 -07:00
date_time.rb
grant.rb
median.rb
migration_helpers.rb [Rails5] Fix Arel::UpdateManager 2018-04-29 12:54:58 +11:00
multi_threaded_migration.rb
read_only_relation.rb
sha_attribute.rb