gitlab-org--gitlab-foss/spec
Stan Hu 5c8ce94052 Fix statement timeouts in RemoveRestrictedTodos migration
On GitLab.com, the RemoveRestrictedTodos background migration
encountered about 700+ failures a day due to statement timeouts.

PostgreSQL might perform badly with a LIMIT 1 because the planner is
guessing that scanning the index in ID order will come across the
desired row in less time it will take the planner than using another
index. The order_hint does not affect the search results. For example,
`ORDER BY id ASC, updated_at ASC` means the same thing as `ORDER BY id
ASC`.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52649
2018-11-04 06:01:17 -08:00
..
bin Remove Git circuit breaker 2018-10-10 09:08:18 +02:00
config
controllers Incorporates Kubernetes Namespace into Cluster's flow 2018-11-02 15:46:15 +00:00
db
dependencies
factories Incorporates Kubernetes Namespace into Cluster's flow 2018-11-02 15:46:15 +00:00
features Incorporates Kubernetes Namespace into Cluster's flow 2018-11-02 15:46:15 +00:00
finders Merge branch 'engwan/gitlab-ce-44012-filter-reactions-none-any' 2018-11-01 11:07:09 +00:00
fixtures Rename to assignable_labels_endpoint 2018-10-31 19:01:04 -05:00
graphql Make GitLab pages support access control 2018-10-05 13:41:11 +00:00
helpers Fix typo in labels_helper_spec.rb 2018-11-01 15:26:59 +00:00
initializers
javascripts Merge branch '28249-add-pagination' into 'master' 2018-11-02 12:09:03 +00:00
lib Use our own docker image for helm install pods 2018-11-02 17:46:33 +00:00
mailers
migrations Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
models Fix statement timeouts in RemoveRestrictedTodos migration 2018-11-04 06:01:17 -08:00
policies
presenters Merge branch 'top_level_clusters_controller' into 'master' 2018-11-02 12:34:40 +00:00
rack_servers Add experimental support for Puma 2018-10-25 17:50:15 +01:00
requests add related merge request endpoint 2018-11-01 12:36:01 +01:00
routing Remove Koding integration and documentation 2018-10-12 22:18:51 -07:00
rubocop Add a new QA::ElementWithPattern cop 2018-10-15 14:28:03 +02:00
serializers Add scheduled flag to job entity 2018-11-02 11:52:34 +00:00
services Add email for milestone change 2018-11-02 16:29:32 +00:00
sidekiq/cron
support Use our own docker image for helm install pods 2018-11-02 17:46:33 +00:00
tasks Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
uploaders
validators
views Make Highlight accept language param 2018-10-30 15:44:55 +08:00
workers Incorporates Kubernetes Namespace into Cluster's flow 2018-11-02 15:46:15 +00:00
factories_spec.rb
fast_spec_helper.rb Allow CE do nothing if route doesn't exist 2018-10-26 14:27:05 +08:00
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Require spec helpers loaded by other spec helpers first 2018-10-04 21:40:07 -03:00