Commit graph

18 commits

Author SHA1 Message Date
GitLab Bot
4d3bbc4990 Add latest changes from gitlab-org/gitlab@master 2022-01-24 12:10:54 +00:00
GitLab Bot
26881dd926 Add latest changes from gitlab-org/gitlab@master 2021-11-10 15:13:21 +00:00
GitLab Bot
12221d835d Add latest changes from gitlab-org/gitlab@master 2021-09-13 09:11:26 +00:00
GitLab Bot
a9ae162270 Add latest changes from gitlab-org/gitlab@master 2021-08-31 12:11:07 +00:00
GitLab Bot
a246b5fffa Add latest changes from gitlab-org/gitlab@master 2021-07-27 06:09:01 +00:00
GitLab Bot
7e5b78ee03 Add latest changes from gitlab-org/gitlab@master 2021-07-21 12:09:35 +00:00
GitLab Bot
05b83be3ee Add latest changes from gitlab-org/gitlab@master 2021-05-07 15:10:39 +00:00
GitLab Bot
d899d2a373 Add latest changes from gitlab-org/gitlab@master 2021-04-30 18:10:09 +00:00
GitLab Bot
3ef9553486 Add latest changes from gitlab-org/gitlab@master 2020-06-12 12:08:56 +00:00
GitLab Bot
33795139ea Add latest changes from gitlab-org/gitlab@master 2020-02-19 18:09:10 +00:00
GitLab Bot
ed73d4f207 Add latest changes from gitlab-org/gitlab@master 2019-12-06 03:08:02 +00:00
GitLab Bot
b1ffdbb7f9 Add latest changes from gitlab-org/gitlab@master 2019-11-14 21:06:14 +00:00
GitLab Bot
25989ab7ef Add latest changes from gitlab-org/gitlab@master 2019-10-18 11:11:44 +00:00
Dinesh Panda
773eadbef6 Remove unnecessary freeze in app 2019-09-04 18:10:43 +00: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
fc0ff92807 Added Rollbacker workers and support on the rake task
Rollback is done similar to Migration for the Hashed Storage.
It also shares the same ExclusiveLease key to prevent both happening
at the same time.

All Hashed Storage related workers now share the same queue namespace
which allows for assigning dedicated workers easily.
2019-03-01 15:49:20 +01:00
Gabriel Mazetto
d63380fa93 Refactor ProjectMigrate and ProjectRollback workers
Moved to HashedStorage namespace, and added them to the
`:hashed_storage` queue namespace
2019-03-01 15:49:20 +01:00
Gabriel Mazetto
7bc16889df Refactor Storage Migration
Specs were reviewed and improved to better cover the current behavior.
There was some standardization done as well to facilitate the
implementation of the rollback functionality.

StorageMigratorWorker was extracted to HashedStorage namespace were
RollbackerWorker will live one as well.
2019-01-25 20:26:35 +01:00