summaryrefslogtreecommitdiff
path: root/db/migrate/20190715173819_add_object_storage_flag_to_geo_node.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-09-11 23:16:40 -0700
committerStan Hu <stanhu@gmail.com>2019-09-11 23:24:14 -0700
commitc13c7e6709bf4748bbe411e9fd35a2436dcde421 (patch)
treee470b84c29c2c7999041042c137d15887bda5994 /db/migrate/20190715173819_add_object_storage_flag_to_geo_node.rb
parent80e9f7f3463cc67c6eb1dd22fb9e2dc88ebed3f1 (diff)
downloadgitlab-ce-c13c7e6709bf4748bbe411e9fd35a2436dcde421.tar.gz
Fix member expiration not always workingsh-add-index-members-expires
The Sidekiq job `RemoveExpiredMembersWorker` was failing to run in production because it was hitting statement timeouts because it was scanning all rows in order. On staging, where it used to scan 4 million rows, adding an index brought this down to only a few hundred rows. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/67286
Diffstat (limited to 'db/migrate/20190715173819_add_object_storage_flag_to_geo_node.rb')
0 files changed, 0 insertions, 0 deletions