BigW Consortium Gitlab
This version does not use transactions, but individual statements. As we have unique constraints on the target tables for the inserts, we can just ignore uniqueness violations there (as long as we always insert the same batch size, in the same order). This means the spec now must use truncation, not a transaction, as the uniqueness violation means that the whole transaction for that spec would be invalid, which isn't what we'd want. In real-world use, this isn't run in a transaction anyway. This commit also wraps unhandled exceptions, for easier finding in Sentry, and logs with a consistent format, for easier searching.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
.gitkeep | Loading commit data... | |
delete_conflicting_redirect_routes_range.rb | Loading commit data... | |
deserialize_merge_request_diffs_and_commits.rb | Loading commit data... | |
migrate_build_stage_id_reference.rb | Loading commit data... | |
migrate_events_to_push_event_payloads.rb | Loading commit data... | |
migrate_stage_status.rb | Loading commit data... | |
migrate_system_uploads_to_new_folder.rb | Loading commit data... | |
move_personal_snippet_files.rb | Loading commit data... |