Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add latest changes from gitlab-org/gitlab@13-4-stable-ee | GitLab Bot | 2020-09-19 | 1 | -1/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@13-2-stable-ee | GitLab Bot | 2020-07-20 | 1 | -0/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-02-12 | 1 | -0/+8 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-01-10 | 1 | -0/+14 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-10-16 | 1 | -1/+1 |
| | |||||
* | Add methods to check dead and retrying jobsosw-schedule-multiple-mr-assignees-ff-auto-enabling | Oswaldo Ferreira | 2019-04-08 | 1 | -6/+22 |
| | | | | | It adds two methods for checking if a background job (for a given class) has dead or retrying jobs. | ||||
* | Consume remaining MigrateApproverToApprovalRulesInBatch | Mark Chao | 2019-02-02 | 1 | -4/+11 |
| | | | Allow `steal` to handle dead jobs. | ||||
* | Check if specific type of background migration are done | Mark Chao | 2019-01-08 | 1 | -0/+13 |
| | | | | Useful for checking progress. | ||||
* | Enable frozen string for lib/gitlab/*.rb | gfyoung | 2018-10-22 | 1 | -0/+2 |
| | |||||
* | Respond to DB health in background migrations | Yorick Peterse | 2018-08-06 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | This changes the BackgroundMigration worker so it checks for the health of the DB before performing a background migration. This in turn allows us to reduce the minimum interval, without having to worry about blowing things up if we schedule too many migrations. In this setup, the BackgroundMigration worker will reschedule jobs as long as the database is considered to be in an unhealthy state. Once the database has recovered, the migration can be performed. To determine if the database is in a healthy state, we look at the replication lag of any replication slots defined on the primary. If the lag is deemed to great (100 MB by default) for too many slots, the migration is rescheduled for a later point in time. The health checking code is hidden behind a feature flag, allowing us to disable it if necessary. | ||||
* | Remove obsolete argument from bg migrations code | Grzegorz Bizon | 2017-07-18 | 1 | -1/+1 |
| | |||||
* | Simplify background migrations stealing code | Grzegorz Bizon | 2017-07-17 | 1 | -15/+3 |
| | | | | | Simply re-raise an exception when it occurs, but guarantee that no background migration is lost in the process. | ||||
* | Fix off-by-one error in background migration retriesfix/gb/process-scheduled-background-migrations | Grzegorz Bizon | 2017-07-17 | 1 | -5/+10 |
| | |||||
* | Recover from all exceptions when stealing bg migration | Grzegorz Bizon | 2017-07-17 | 1 | -4/+22 |
| | | | | | It also makes it possible to gracefully retry a migration in order to avoid problems like deadlocks. | ||||
* | Catch exceptions when stealing background migrations | Grzegorz Bizon | 2017-07-14 | 1 | -1/+6 |
| | |||||
* | Avoid race condition when stealing a background migration | Grzegorz Bizon | 2017-07-14 | 1 | -3/+1 |
| | | | | | | We first pop a job from the Sidekiq queue / scheduled set and only if this has been successfully deleted we process the job. This makes it possible to minimize a possibility of a race condition happening. | ||||
* | Fix mocks in background migrations specs | Grzegorz Bizon | 2017-07-13 | 1 | -1/+0 |
| | |||||
* | Implement draining scheduled sets of background migrations | Grzegorz Bizon | 2017-07-13 | 1 | -7/+12 |
| | |||||
* | Extract background migratons queue class method | Grzegorz Bizon | 2017-07-11 | 1 | -2/+5 |
| | |||||
* | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | 2017-06-21 | 1 | -2/+2 |
| | |||||
* | Add the ability to perform background migrations | Yorick Peterse | 2017-06-12 | 1 | -0/+31 |
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. |