-
- Downloads
Add the ability to perform background migrations
Background migrations can be used to perform long running data migrations without these blocking a deployment procedure. See MR https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11854 for more information.
Showing
- app/workers/background_migration_worker.rb 23 additions, 0 deletionsapp/workers/background_migration_worker.rb
- config/sidekiq_queues.yml 1 addition, 0 deletionsconfig/sidekiq_queues.yml
- doc/development/README.md 1 addition, 0 deletionsdoc/development/README.md
- doc/development/background_migrations.md 205 additions, 0 deletionsdoc/development/background_migrations.md
- lib/gitlab/background_migration.rb 31 additions, 0 deletionslib/gitlab/background_migration.rb
- lib/gitlab/background_migration/.gitkeep 0 additions, 0 deletionslib/gitlab/background_migration/.gitkeep
- spec/lib/gitlab/background_migration_spec.rb 48 additions, 0 deletionsspec/lib/gitlab/background_migration_spec.rb
- spec/workers/background_migration_worker_spec.rb 13 additions, 0 deletionsspec/workers/background_migration_worker_spec.rb
app/workers/background_migration_worker.rb
0 → 100644
doc/development/background_migrations.md
0 → 100644
lib/gitlab/background_migration.rb
0 → 100644
lib/gitlab/background_migration/.gitkeep
0 → 100644
spec/lib/gitlab/background_migration_spec.rb
0 → 100644
Please register or sign in to comment