Geo: Renaming a namespace fails to move project files of any subgroups properly on the secondary when hashed storage is not enabled

How to reproduce:

  • Setup Geo
  • Create group foo
  • Create subgroup foo/bar
  • Create project foo/bar/baz
  • Add a file
  • Add an issue with an upload
  • Add a wiki
  • Rename foo to qux

The repo, wiki, and upload will now be "missing" on the secondary.

TODO

  • Fix bug: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5704
  • Fix another bug since it also leaves uploads behind: https://gitlab.com/gitlab-org/gitlab-ee/issues/6252 (this is a small, simple fix)
  • Prevent export of orphaned files https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2453
  • This issue must be confidential until https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2453 is released and backported 2 releases
Edited Sep 18, 2018 by Michael Kozono
Assignee Loading
Time tracking Loading