Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • gitlab-ce
  • Repository
You need to sign in or sign up before continuing.
  • gitlab-ce
  • lib
  • gitlab
  • git
  • object_pool.rb
Find file BlameHistoryPermalink
  • Jacob Vosmaer's avatar
    Stop calling UnlinkRepositoryFromObjectPool RPC · 35b9274f
    Jacob Vosmaer authored Apr 02, 2019
    Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/59777.
    
    In earlier iterations of our implementation of Git object deduplication
    we thought we would be making extensive use of Git remotes in pool
    repositories in the future, and that we should manage these remotes
    carefully from the start. We now expect we only care about one remote,
    namely the source project. The other remotes are there only for forensic
    purposes.
    
    Before this MR we tried to also remove pool remotes when member projects
    got deleted, with the UnlinkRepositoryFromObjectPool RPC. This is
    fragile when there are race conditions (see
    https://gitlab.com/gitlab-org/gitaly/issues/1568#note_153955926). We
    have spent some time making this RPC less fragile in
    https://gitlab.com/gitlab-org/gitaly/merge_requests/1151 but looking at
    this problem again, I think we should just stop calling it.
    35b9274f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7