d4c6a3af78
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 |
||
---|---|---|
.. | ||
application_settings | ||
applications | ||
auth | ||
boards | ||
chat_names | ||
ci | ||
clusters | ||
commits | ||
deploy_keys | ||
deploy_tokens | ||
discussions | ||
emails | ||
error_tracking | ||
events | ||
files | ||
git | ||
gpg_keys | ||
groups | ||
issuable | ||
issues | ||
keys | ||
labels | ||
lfs | ||
members | ||
merge_requests | ||
milestones | ||
notes | ||
projects | ||
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_spec.rb | ||
after_branch_delete_service_spec.rb | ||
audit_event_service_spec.rb | ||
base_count_service_spec.rb | ||
cohorts_service_spec.rb | ||
compare_service_spec.rb | ||
create_branch_service_spec.rb | ||
create_snippet_service_spec.rb | ||
delete_branch_service_spec.rb | ||
delete_merged_branches_service_spec.rb | ||
event_create_service_spec.rb | ||
gravatar_service_spec.rb | ||
import_export_clean_up_service_spec.rb | ||
note_summary_spec.rb | ||
notification_recipient_service_spec.rb | ||
notification_service_spec.rb | ||
preview_markdown_service_spec.rb | ||
push_event_payload_service_spec.rb | ||
repair_ldap_blocked_user_service_spec.rb | ||
repository_archive_clean_up_service_spec.rb | ||
reset_project_cache_service_spec.rb | ||
search_service_spec.rb | ||
spam_service_spec.rb | ||
submit_usage_ping_service_spec.rb | ||
system_hooks_service_spec.rb | ||
system_note_service_spec.rb | ||
task_list_toggle_service_spec.rb | ||
todo_service_spec.rb | ||
update_deployment_service_spec.rb | ||
update_merge_request_metrics_service_spec.rb | ||
update_snippet_service_spec.rb | ||
upload_service_spec.rb | ||
user_project_access_changed_service_spec.rb | ||
verify_pages_domain_service_spec.rb | ||
web_hook_service_spec.rb |