gitlab-org--gitlab-foss/app
Stan Hu d4c6a3af78
Force a full GC after importing a project
During a project import, it's possible that new branches are created by
the importer to handle pull requests that have been created from forked
projects, which would increment the `pushes_since_gc` value via
`HousekeepingService.increment!` before a full garbage collection gets
to run. This causes HousekeepingService to skip the full `git gc` and
move to the incremental repack mode. To ensure that a garbage collection
is run to pack refs and objects, explicitly execute the task.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59477
2019-04-01 13:33:16 -03:00
..
assets Merge branch '57669-fix-bug-clicking-file-header-refreshes-page' into 'master' 2019-04-01 15:28:37 +00:00
controllers Renames Cluster#managed? to provided_by_user? 2019-03-29 18:23:18 +00:00
finders Optimize /api/v4/projects endpoint for visibility level 2019-03-27 06:15:33 -05:00
graphql
helpers Merge branch 'ce-1607-elastic_feature_flag_per_group' into 'master' 2019-03-29 11:54:48 +00:00
mailers
models Merge branch 'check-mergeability-in-merge-to-ref-service' into 'master' 2019-04-01 16:17:10 +00:00
policies
presenters Renames Cluster#managed? to provided_by_user? 2019-03-29 18:23:18 +00:00
serializers Revert "Merge branch '13784-validate-variables-for-masking' into 'master'" 2019-03-27 21:42:23 +00:00
services Force a full GC after importing a project 2019-04-01 13:33:16 -03:00
uploaders Don't try to set any ACL on uploaded objects 2019-03-30 14:55:33 +01:00
validators Renames Cluster#managed? to provided_by_user? 2019-03-29 18:23:18 +00:00
views Merge branch 'contribute/fix-nav-links-archived-project' into 'master' 2019-04-01 16:14:38 +00:00
workers Allow external diffs to be used conditionally 2019-03-27 16:51:33 +00:00