diff options
author | Marin Jankovski <marin@gitlab.com> | 2015-02-24 05:30:25 +0000 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2015-02-24 05:30:25 +0000 |
commit | 24c8381de281576deeaacf6ba1b46271767594d8 (patch) | |
tree | e3488889b8aeaeb0a643bf48cd63df2dff82af61 /lib/api/files.rb | |
parent | 14117c23af8da2e1d2e4956aaa86536bb4c0c78d (diff) | |
parent | 0f6221e7365a93a356410f4d38443381924d4cc6 (diff) | |
download | gitlab-ce-24c8381de281576deeaacf6ba1b46271767594d8.tar.gz |
Merge branch 'improve-services-migration' into 'master'
Make services migration more reliable
Fix for #2045 . I did not use SQL because its hard to convert SQL fields into json with interpolation and without errors. SO I just improved current migration with next:
* skip validation to prevent exception because of new `template` field in validation
* check column for existance before adding them.
It should allow people who already failed this migration to re-run ti
* select objects with 500 batch size for better memory usage
Tested on migration from 7.0 to 7.9.0.pre
See merge request !1581
Diffstat (limited to 'lib/api/files.rb')
0 files changed, 0 insertions, 0 deletions