- 29 Sep, 2017 2 commits
-
-
Lin Jen-Shin (godfat) authored
-
Sean McGivern authored
The first attempt didn't migrate all rows on GitLab.com, due to a couple of issues: 1. Some rows in merge_request_diffs had truly huge numbers of commits and diffs serialised - one in particular had 26,000 commits! 2. The jobs were sometimes on Sidekiq hosts with frequent OOM errors, leading to the job being lost. The previous commit adds more logging, and a more robust insertion method. This commit reschedules the jobs, with a generous pause between each.
-
- 18 Sep, 2017 2 commits
-
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
- 14 Sep, 2017 4 commits
-
-
Michael Kozono authored
…to stay within our query timeout of 60s. Also reduce the job interval to keep the same overall migration time of ~3.3 days.
-
Michael Kozono authored
-
Michael Kozono authored
-
Michael Kozono authored
-
- 11 Sep, 2017 1 commit
-
-
Annabel Dunstone Gray authored
This reverts merge request !14148
-
- 08 Sep, 2017 1 commit
-
-
Rubén Dávila authored
Revert "Merge branch '35012-navigation-add-option-to-change-navigation-color-palette' into 'master'" This reverts merge request !13619
-
- 06 Sep, 2017 2 commits
-
-
Sean McGivern authored
-
Sean McGivern authored
The User model now has a default value for a field that didn't exist when these migrations ran.
-
- 05 Sep, 2017 1 commit
-
-
Jarka Kadlecova authored
-
- 25 Aug, 2017 1 commit
-
-
Grzegorz Bizon authored
-
- 23 Aug, 2017 1 commit
-
-
Grzegorz Bizon authored
-
- 22 Aug, 2017 3 commits
-
-
Toon Claes authored
There might be some projects where the namespace was removed, but the project wasn't. For these the projects still have a `namespace_id` set. So this adds a post-deploy migration remove all projects that are pending delete, and have a `namespace_id` that is non-existing.
-
Grzegorz Bizon authored
-
Gabriel Mazetto authored
-
- 17 Aug, 2017 1 commit
-
-
Michael Kozono authored
-
- 16 Aug, 2017 2 commits
-
-
Grzegorz Bizon authored
-
Jarka Kadlecova authored
-
- 15 Aug, 2017 1 commit
-
-
Robert Speicher authored
-
- 11 Aug, 2017 4 commits
-
-
Bob Van Landuyt authored
Update the markdown unconditionally since the move might have been done before, but the markdown not updated.
-
Bob Van Landuyt authored
-
Bob Van Landuyt authored
This will be done in 20170717150329_enqueue_migrate_system_uploads_to_new_folder.rb instead.
-
Bob Van Landuyt authored
-
- 08 Aug, 2017 1 commit
-
-
Alejandro Rodríguez authored
-
- 07 Aug, 2017 1 commit
-
-
Jarka Kadlecova authored
-
- 03 Aug, 2017 1 commit
-
-
Sean McGivern authored
Previously, we stored these as serialised fields - `st_{commits,diffs}` - on the `merge_request_diffs` table. These now have their own tables - `merge_request_diff_{commits,diffs}` - with a column for each attribute of the serialised data. Add a background migration to go through the existing MR diffs and migrate them to the new format. Ignore any contents that cannot be displayed. Assuming that we have 5 million rows to migrate, and each batch of 2,500 rows can be completed in 5 minutes, this will take about 7 days to migrate everything.
-
- 02 Aug, 2017 1 commit
-
-
Robert Speicher authored
-
- 01 Aug, 2017 3 commits
-
-
Robert Speicher authored
-
Gabriel Mazetto authored
-
Gabriel Mazetto authored
-
- 20 Jul, 2017 3 commits
-
-
Grzegorz Bizon authored
We need to use a spy because an `after` RSpec hook is also going to call the migration we want to test, so we need to use `have_received` expectation. See gitlab-org/gitlab-ce#35351 for more details.
-
Sean McGivern authored
Use uploads/system directory for personal snippets See merge request !2123
-
Douwe Maan authored
Remove the `appearance` symlink that was previously missed See merge request !2124
-
- 19 Jul, 2017 1 commit
-
-
Grzegorz Bizon authored
This addreses a review remarks discussed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12785/diffs#note_35276344
-
- 18 Jul, 2017 3 commits
-
-
Bob Van Landuyt authored
Without downtime, so we need the symlinks
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-