gitlab-org--gitlab-foss/lib/gitlab/gitaly_client
Jacob Vosmaer 35b9274f12 Stop calling UnlinkRepositoryFromObjectPool RPC
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.
2019-04-02 13:20:26 +00:00
..
attributes_bag.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
blob_service.rb Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
blobs_stitcher.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
cleanup_service.rb Fix repository cleanup with object storage on 2018-12-15 13:50:59 +00:00
commit_service.rb Allow ref name caching CommitService#find_commit 2019-03-27 14:46:39 -05:00
conflict_files_stitcher.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
conflicts_service.rb Allow streaming io objects into Gitaly 2019-04-01 20:17:40 +02:00
diff.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
diff_stitcher.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
health_check_service.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
namespace_service.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
notification_service.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
object_pool_service.rb Stop calling UnlinkRepositoryFromObjectPool RPC 2019-04-02 13:20:26 +00:00
operation_service.rb Allow streaming io objects into Gitaly 2019-04-01 20:17:40 +02:00
queue_enumerator.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
ref_service.rb Backport Gitaly dynamic timeouts from EE 2019-03-12 11:10:40 +01:00
remote_service.rb Remove timeout for GitalyClient remove_remote 2019-03-15 17:15:07 +08:00
repository_service.rb Removing old code path for search_files_by_content 2019-03-01 15:25:30 -08:00
server_service.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
storage_service.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
storage_settings.rb Bring back Rugged implementation of find_commit 2019-03-01 08:45:51 -08:00
util.rb Rename gl_project_name -> gl_project_path 2019-02-05 21:33:10 -08:00
wiki_file.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
wiki_page.rb Enable even more frozen string in lib/gitlab 2018-11-13 11:42:15 -08:00
wiki_service.rb Allow streaming io objects into Gitaly 2019-04-01 20:17:40 +02:00