Commit Graph

11 Commits

Author SHA1 Message Date
GitLab Bot 5f80f7a4bf Add latest changes from gitlab-org/gitlab@master 2020-10-21 06:09:17 +00:00
GitLab Bot e689e858ed Add latest changes from gitlab-org/gitlab@master 2020-05-13 18:08:47 +00:00
GitLab Bot ba174c982f Add latest changes from gitlab-org/gitlab@master 2020-04-06 12:10:44 +00:00
GitLab Bot 7b875aa3fd Add latest changes from gitlab-org/gitlab@master 2019-12-11 06:07:52 +00:00
GitLab Bot b1ffdbb7f9 Add latest changes from gitlab-org/gitlab@master 2019-11-14 21:06:14 +00:00
GitLab Bot 3744bcc0d1 Add latest changes from gitlab-org/gitlab@master 2019-10-09 09:06:19 +00:00
Gabriel Mazetto 264394f6d3 Extract and simplify more code into BaseRepositoryService`
`try_to_set_repository_read_only!` is now on the Base class.
Simplified Exception classes from 2 to 1 with a more descriptive name.
2019-03-01 15:49:20 +01:00
Gabriel Mazetto 7c8920c9dc Extract common logic to HashedStorage::BaseWorker
New class contains the ExclusiveLease specifics that is shared among
both the Migration and Rollback workers.
2019-03-01 15:49:20 +01:00
Gabriel Mazetto 4bae61005d Edge case: upgrade/downgrade when repository doesn't exist
This change takes the case where repository doesn't exist on disk
and make it ignore but succeed the step, increasing or decreasing the
version depending on the operation.
2019-03-01 15:49:20 +01:00
Gabriel Mazetto 41712ebe0b Use Gitlab::AppLogger instead of Rails.logger 2019-01-25 20:26:35 +01:00
Gabriel Mazetto b88f27c8d1 Extract BaseRepositoryService from MigrateRepository
This will serve as new base class for both Migrate and Rollback
2019-01-25 20:26:35 +01:00