Skip to content

Expire the branch cache after `git gc` runs

Stan Hu requested to merge stanhu/gitlab-ce:expire-branch-cache-after-gc into master

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 (closed)

Merge request reports

Loading