• Stan Hu's avatar
    Force a full GC after importing a project · d4c6a3af
    Stan Hu authored
    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
    d4c6a3af
Name
Last commit
Last update
..
auto_devops Loading commit data...
container_repository Loading commit data...
group_links Loading commit data...
hashed_storage Loading commit data...
import_export Loading commit data...
lfs_pointers Loading commit data...
operations Loading commit data...
after_import_service_spec.rb Loading commit data...
after_rename_service_spec.rb Loading commit data...
autocomplete_service_spec.rb Loading commit data...
batch_open_issues_count_service_spec.rb Loading commit data...
cleanup_service_spec.rb Loading commit data...
count_service_spec.rb Loading commit data...
create_from_template_service_spec.rb Loading commit data...
create_service_spec.rb Loading commit data...
destroy_service_spec.rb Loading commit data...
detect_repository_languages_service_spec.rb Loading commit data...
download_service_spec.rb Loading commit data...
enable_deploy_key_service_spec.rb Loading commit data...
fetch_statistics_increment_service_spec.rb Loading commit data...
fork_service_spec.rb Loading commit data...
forks_count_service_spec.rb Loading commit data...
gitlab_projects_import_service_spec.rb Loading commit data...
housekeeping_service_spec.rb Loading commit data...
import_error_filter_spec.rb Loading commit data...
import_service_spec.rb Loading commit data...
move_access_service_spec.rb Loading commit data...
move_deploy_keys_projects_service_spec.rb Loading commit data...
move_forks_service_spec.rb Loading commit data...
move_lfs_objects_projects_service_spec.rb Loading commit data...
move_notification_settings_service_spec.rb Loading commit data...
move_project_authorizations_service_spec.rb Loading commit data...
move_project_group_links_service_spec.rb Loading commit data...
move_project_members_service_spec.rb Loading commit data...
move_users_star_projects_service_spec.rb Loading commit data...
open_issues_count_service_spec.rb Loading commit data...
open_merge_requests_count_service_spec.rb Loading commit data...
overwrite_project_service_spec.rb Loading commit data...
participants_service_spec.rb Loading commit data...
propagate_service_template_spec.rb Loading commit data...
protect_default_branch_service_spec.rb Loading commit data...
transfer_service_spec.rb Loading commit data...
unlink_fork_service_spec.rb Loading commit data...
update_pages_configuration_service_spec.rb Loading commit data...
update_pages_service_spec.rb Loading commit data...
update_remote_mirror_service_spec.rb Loading commit data...
update_service_spec.rb Loading commit data...