gitlab-org--gitlab-foss/spec
Jacob Vosmaer (GitLab) 97999fd420 Merge branch 'expire-branch-cache-after-gc' into 'master'
Expire the branch cache after `git gc` runs

Due to a stale NFS cache, it's possible that a branch lookup fails while `git gc` is running and causes missing branches in merge requests.

I'm not totally convinced this is the right solution, but since we and our customers are experiencing this issue quite frequently, I'm taking a stab at it.

Possible workaround for #15392


See merge request !5160
2016-07-12 13:24:42 +00:00
..
config
controllers Fix failing tests. 2016-07-11 16:11:33 -06:00
factories Merge branch 'fix-type-in-project-factory' into 'master' 2016-07-11 08:16:29 +00:00
features Be explicit on merge request discussion variables 2016-07-12 14:37:12 +02:00
finders Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
fixtures Add more comments to regex 2016-07-10 14:47:53 -05:00
helpers Merge branch 'master' into faster-diffs 2016-07-11 17:19:17 -04:00
initializers Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
javascripts Remove pinTo from Flash and make inline flash messages look nicer (!4854) 2016-06-30 23:53:22 +02:00
lib Optimize system note visibility checking by hiding notes that 2016-07-11 15:09:21 -07:00
mailers Represent DiffRefs as proper class instead of tuple array 2016-07-06 18:50:58 -04:00
models Optimize system note visibility checking by hiding notes that 2016-07-11 15:09:21 -07:00
requests api: expose {should,force}_remove_source_branch 2016-07-11 14:08:06 -04:00
routing Fix failing tests. 2016-07-11 16:11:33 -06:00
services Expire the branch cache after git gc runs 2016-07-12 05:42:19 -07:00
support Fix feature specs on CI 2016-07-11 12:02:13 +01:00
tasks/gitlab Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
views Do not show build retry link when build is active 2016-06-30 11:06:19 +02:00
workers Expire the branch cache after git gc runs 2016-07-12 05:42:19 -07:00
factories_spec.rb
rails_helper.rb
spec_helper.rb Remove coveralls lines 2016-06-30 19:52:36 +02:00
teaspoon_env.rb