Commit graph

13 commits

Author SHA1 Message Date
Zeger-Jan van de Weg
ec4423665c
Gitlab::Shell works on shard name, not path
Direct disk access is done through Gitaly now, so the legacy path was
deprecated. This path was used in Gitlab::Shell however. This required
the refactoring in this commit.

Added is the removal of direct path access on the project model, as that
lookup wasn't needed anymore is most cases.

Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-04-25 13:36:22 +02:00
Micaël Bergeron
2057a6acde port of 594e6a0a625^..f74c90f68c6 2018-02-01 12:14:46 -05:00
Douglas Barbosa Alexandre
14336c0bda Use if instead of unless on Projects::HashedStorage::MigrateRepositoryService 2018-01-03 16:26:59 -02:00
Douglas Barbosa Alexandre
93eba91df9 Refactoring Project#write_repository_config 2018-01-03 16:13:32 -02:00
Douglas Barbosa Alexandre
2f2233774c Write project full path to .git/config when migrating legacy storage 2018-01-03 16:13:31 -02:00
Gabriel Mazetto
58f32622ce Changes to Attachments Migration for EE and Geo compatibility 2017-11-28 11:22:23 +01:00
Gabriel Mazetto
dc62441ffd Backport EE changes to make test possible when prepending modules 2017-11-24 03:31:08 +01:00
Gabriel Mazetto
65bd6868d0 Codestyle changes and Added Exclusive Lease to hashed storage migration 2017-11-23 14:19:36 +01:00
Gabriel Mazetto
4b87c1afaa when rollingback repository migration, toggle readonly mode back 2017-11-23 14:19:36 +01:00
Gabriel Mazetto
9fd31eb469 Raises error when migration cannot happen so job is cancelled 2017-11-23 14:19:36 +01:00
Gabriel Mazetto
f0f6a237d7 attachments migration should move only the base folder 2017-11-23 14:19:36 +01:00
Gabriel Mazetto
4af26c1c65 WIP Attachments migration 2017-11-23 14:19:36 +01:00
Gabriel Mazetto
0a4d55a1c9 Refactor Hashed Storage migration to add additional migration steps 2017-11-23 14:19:36 +01:00