gitlab-org--gitlab-foss/app/services
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
..
application_settings
applications
auth
badges
boards
chat_names
ci
clusters Dry up and remove responsibilities 2019-04-01 13:32:20 +00:00
commits
concerns
deploy_keys
deploy_tokens
discussions
emails
error_tracking Handle missing keys in sentry api response 2019-03-29 14:53:40 +00:00
events
files
git
gpg_keys
groups
import
issuable
issues
keys
labels
lfs
mattermost
members
merge_requests Check mergeability in merge to ref service 2019-04-01 14:02:57 +07:00
milestones
notes
projects Force a full GC after importing a project 2019-04-01 13:33:16 -03:00
prometheus
protected_branches
protected_tags
quick_actions
releases
resource_events
search
submodules
suggestions
tags
test_hooks
todos/destroy
users
wiki_pages
wikis
access_token_validation_service.rb
after_branch_delete_service.rb
akismet_service.rb
audit_event_service.rb
base_count_service.rb
base_renderer.rb
base_service.rb
cohorts_service.rb
compare_service.rb
create_branch_service.rb
create_snippet_service.rb
delete_branch_service.rb
delete_merged_branches_service.rb
event_create_service.rb
gravatar_service.rb
ham_service.rb
import_export_clean_up_service.rb
issuable_base_service.rb add a uniq constraints on issues and mrs labels 2019-04-01 09:09:49 +00:00
merge_request_metrics_service.rb
metrics_service.rb
note_summary.rb
notification_recipient_service.rb
notification_service.rb
preview_markdown_service.rb
push_event_payload_service.rb
repair_ldap_blocked_user_service.rb
repository_archive_clean_up_service.rb
reset_project_cache_service.rb
search_service.rb
spam_check_service.rb
spam_service.rb
submit_usage_ping_service.rb
system_hooks_service.rb
system_note_service.rb
task_list_toggle_service.rb
todo_service.rb
update_deployment_service.rb
update_snippet_service.rb
upload_service.rb
user_agent_detail_service.rb
user_project_access_changed_service.rb
validate_new_branch_service.rb
verify_pages_domain_service.rb
web_hook_service.rb