Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-19Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-02-20Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-06Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-23Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-03-17Fix storage migration check for non-empty queuesGabriel Mazetto
The previous code works fine when running specs, but the API does not exist outside that environment.
2019-03-12Prevent storage migration and rollback running at the same timeGabriel Mazetto
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-01Added Rollbacker workers and support on the rake taskGabriel Mazetto
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-01Refactor ProjectMigrate and ProjectRollback workersGabriel Mazetto
Moved to HashedStorage namespace, and added them to the `:hashed_storage` queue namespace
2019-03-01Adds Rollback functionality to HashedStorage migrationGabriel Mazetto
We are adding sidekiq workers and service classes to allow to rollback a hashed storage migration. There are some refactoring involved as well as part of the code can be reused by both the migration and the rollback logic.
2019-01-25Refactor Storage MigrationGabriel Mazetto
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-25Prepare rake task for storage rollbackGabriel Mazetto
We are keeping compatibility with existing scheduled jobs.
2019-01-08Only set as `read_only` when starting the per-project migrationGabriel Mazetto
In the previous code, we locked the project during the migration scheduling step, which works fine for small setups, but can be problematic in really big installations. We now moved the logic to inside the worker, so we minimize the time a project will be read-only. We also make sure we only do that if reference counter is `0` (no current operation is in progress).
2018-07-23Replace 'Sidekiq::Testing.inline!' with 'perform_enqueued_jobs'blackst0ne
`perform_enqueued_jobs` is a Sidekiq method. Using this method violates the Dependency inversion principle[0]. This commit replaces `perform_enqueued_jobs` with ActiveJob's abstract method `perform_enqueued_jobs` in specs. [0]: https://en.wikipedia.org/wiki/Dependency_inversion_principle
2018-06-07Resolve "Hashed Storage: Make possible to migrate single project"Gabriel Mazetto