Name |
Last commit
|
Last update |
---|---|---|
.. | ||
.gitkeep | ||
deserialize_merge_request_diffs_and_commits.rb | ||
migrate_build_stage_id_reference.rb | ||
migrate_system_uploads_to_new_folder.rb |
BigW Consortium Gitlab
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
.gitkeep | Loading commit data... | |
deserialize_merge_request_diffs_and_commits.rb | Loading commit data... | |
migrate_build_stage_id_reference.rb | Loading commit data... | |
migrate_system_uploads_to_new_folder.rb | Loading commit data... |