Skip to content

Automatically clean up after moving a project to a different shard

Problem to solve

Moving a project from one shard to another leaves behind the repo on the original shard, and it isn't cleaned up automatically. This means manual work is required to reclaim space

Proposal

If a project is moved to a new shard successfully, the space should be reclaimed on the old shard by deleting the repo

Links / references

Edited by James Ramsay (ex-GitLab)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information