- Feb 14, 2018
-
-
Michael Kozono authored
And use :migration tag to use deletion strategy, and to avoid caching tables, and to lock into a particular schema. Attempting to fix intermittent spec errors `PG::UndefinedTable: ERROR: relation "public.untracked_files_for_uploads" does not exist`.
-
- Feb 12, 2018
-
-
Rémy Coutable authored
We do that because it's using factories and it's not worth it to get rid of them. Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Feb 07, 2018
-
-
Nick Thomas authored
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Feb 06, 2018
-
-
Grzegorz Bizon authored
-
- Feb 05, 2018
-
-
Grzegorz Bizon authored
-
Andreas Brandl authored
Fixes #32282.
-
- Feb 02, 2018
-
-
James Lopez authored
-
James Lopez authored
-
- Jan 24, 2018
-
-
Nick Thomas authored
-
Grzegorz Bizon authored
-
- Jan 22, 2018
-
-
Micael Bergeron authored
-
- Jan 18, 2018
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jan 17, 2018
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Francisco Javier López authored
-
- Jan 10, 2018
-
-
Jan Provaznik authored
For each MR diff an extra 'SELECT COUNT()' is executed to get number of commits for the diff. Overall time to get counts for all MR diffs may be quite expensive. To speed up loading of MR info, information about number of commits is stored in a MR diff's extra column. Closes #38068
-
Yorick Peterse authored
-
- Jan 08, 2018
-
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
Opitmize migration process by using both unmanaged_kubernetes_service and kubernetes_service_without_template
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
- Jan 05, 2018
-
-
Sean McGivern authored
If a later spec tries to set a field that is added to any of these models by a later migration than the GCP clusters migration, it will fail because the model's columns are cached. We should always refer to models in migration specs by either their class in the migration, or the table directly, using the `table` helper.
-
Yorick Peterse authored
This adds a minimum interval to BackgroundMigrationWorker, ensuring background migrations of the same class only run once every 5 minutes. This prevents a thundering herd problem where scheduled migrations all run at once due to their delays having been expired (e.g. as the result of a queue being paused for a long time). If a job was recently executed it's rescheduled with a delay that equals the remaining time of the job's lease. This means that if the lease expires in two minutes we only need to wait two minutes, instead of five. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/41624
-
Jarka Kadlecova authored
-
- Jan 03, 2018
-
-
Michael Kozono authored
Both the post-deploy and background migration.
-
- Jan 02, 2018
-
-
Oswaldo Ferreir authored
-
-
- Dec 27, 2017
-
-
Stan Hu authored
-
Stan Hu authored
According to https://dev.mysql.com/doc/refman/5.7/en/update.html, "You cannot update a table and select from the same table in a subquery." Attempting to do so results in the error: ``` Mysql2::Error: Table 'issues' is specified twice, both as a target for 'UPDATE' and as a separate source for data ``` Instead, we can use a LEFT JOIN on the same table to make MySQL do the right thing. Closes #41498
-
- Dec 12, 2017
-
-
Bob Van Landuyt authored
Instead of using the factories. Since the factories might be using columns that aren't available in the schema at version the particular spec is running in.
-
- Dec 11, 2017
-
-
Sean McGivern authored
This migration also needs to be a post-deployment migration, as it removes a column.
-
- Dec 06, 2017
-
-
Michael Kozono authored
Later migrations added fields to the EE DB which were used by factories which were used in these specs. And in CE on MySQL, a single appearance row is enforced. The migration and migration specs should not depend on the codebase staying the same.
-
- Dec 04, 2017
-
-
Michael Kozono authored
-