GitLab Bot
e5c7d631a8
Add latest changes from gitlab-org/gitlab@master
2021-11-15 15:10:57 +00:00
GitLab Bot
1930898566
Add latest changes from gitlab-org/gitlab@master
2021-08-02 09:10:09 +00:00
GitLab Bot
f4d51a9f71
Add latest changes from gitlab-org/gitlab@master
2021-07-29 15:09:48 +00:00
GitLab Bot
ebc589e90c
Add latest changes from gitlab-org/gitlab@master
2021-06-10 03:10:01 +00:00
GitLab Bot
64f7eb2b37
Add latest changes from gitlab-org/gitlab@master
2021-02-05 12:09:31 +00:00
GitLab Bot
bfc7eec58e
Add latest changes from gitlab-org/gitlab@master
2021-01-18 15:10:42 +00:00
Gabriel Mazetto
d8cad8837c
Display the amount for Hashed Storage migration/rollback correctly
...
Rake script considers the specified range, if present, to calculate
the affected amount of projects correctly.
2019-07-10 22:14:50 +01:00
Gabriel Mazetto
337977776a
Prevent storage migration and rollback running at the same time
...
This is a small polishing on the storage migration and storage rollback
rake tasks. By aborting a migration while a rollback is already
scheduled we want to prevent unexpected consequences.
2019-03-12 17:51:05 +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
ff2ca3569e
Rake task for storage rollback
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
Gabriel Mazetto
c2c34eba62
Prepare rake task for storage rollback
...
We are keeping compatibility with existing scheduled jobs.
2019-01-25 20:26:35 +01:00
Michael Kozono
9f80f04059
Prevent admins from attempting hashed storage migration on read only DB
2018-12-19 21:10:00 +00:00
Gabriel Mazetto
36c3376475
Resolve "Hashed Storage: Make possible to migrate single project"
2018-06-07 15:40:44 +00:00
Gabriel Mazetto
8c5ce1b07c
Specs covering listing all gitlab:storage:* types
2018-05-29 02:53:21 +02:00
Gabriel Mazetto
d17b45adf5
assign helper full name to variable to reduce code length
2018-05-28 23:39:36 +02:00
Gabriel Mazetto
78d25079f5
Extracted auxiliary methods from storage.rake into specific RakeHelper
2018-05-28 23:39:35 +02:00
🙈 jacopo beschi 🙉
c6b1043e9d
Resolve "Make a Rubocop that forbids returning from a block"
2018-04-18 09:19:40 +00:00
Gabriel Mazetto
d0a08ab888
Improve storage migration rake task
2017-11-23 14:19:36 +01:00
Gabriel Mazetto
f4de14d71f
Add support to migrate existing projects to Hashed Storage async
2017-09-28 16:32:14 +01:00