diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-08-26 12:31:25 +0200 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-08-26 12:35:52 +0200 |
commit | a844a958ea875b548b572faaca8e2fd523464735 (patch) | |
tree | 0ee61edfb15171b0fe07e4cffbdde5634e30e5d6 /doc/development | |
parent | f5fa604c3e6ae3fd6915480b96a3c956cdcfcb8f (diff) | |
download | gitlab-ce-a844a958ea875b548b572faaca8e2fd523464735.tar.gz |
Remove the object pools feature flag
The flag defaulted to true, so there's no change unless users turned it
off. Given there's a lack of issues regarding object pools, this should
be OK.
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/git_object_deduplication.md | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/doc/development/git_object_deduplication.md b/doc/development/git_object_deduplication.md index 5ce59891afa..8d32d0314ae 100644 --- a/doc/development/git_object_deduplication.md +++ b/doc/development/git_object_deduplication.md @@ -8,30 +8,6 @@ storage disk use. To counteract this problem, we are adding Git object deduplication for forks to GitLab. In this document, we will describe how GitLab implements Git object deduplication. -## Enabling Git object deduplication via feature flags - -As of GitLab 12.0, Git object deduplication in GitLab is still behind a -feature flag. In this document, you can read about the effects of -enabling the feature. Also, note that Git object deduplication is -limited to forks of public projects on hashed repository storage. - -You can enable deduplication globally by setting the `object_pools` -feature flag to `true`: - -``` {.ruby} -Feature.enable(:object_pools) -``` - -Or just for forks of a specific project: - -``` {.ruby} -fork_parent = Project.find(MY_PROJECT_ID) -Feature.enable(:object_pools, fork_parent) -``` - -To check if a project uses Git object deduplication, look in a Rails -console if `project.pool_repository` is present. - ## Pool repositories ### Understanding Git alternates |