summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/migrate_legacy_artifacts.rb
Commit message (Expand)AuthorAgeFilesLines
* Use id list to select only batch number of rowsadd-background-migration-for-legacy-traces-with-id-listShinya Maeda2018-06-071-10/+10
* Clean up migration code. Defining migration custom class in only post migrat...Shinya Maeda2018-06-071-45/+19
* Remove indexing for mysql. with_legacy_artifacts targets all archive rows. En...Shinya Maeda2018-06-071-1/+1
* Fix static analysys. Split methods. Use `file_types`Shinya Maeda2018-06-071-62/+80
* Use raw sql for better readabilityShinya Maeda2018-06-071-65/+65
* Dry up code by referring `BackgroundMigration` namespace. Use `BETWEEN` raw S...Shinya Maeda2018-06-071-11/+13
* Wrap insertion and deletion in a single transactionShinya Maeda2018-06-071-27/+29
* Optimize queries. Add some tests for filtering logic.Shinya Maeda2018-06-071-4/+2
* Add spec for migrationsShinya Maeda2018-06-071-2/+8
* Revise commentsShinya Maeda2018-06-071-3/+5
* Added artifacts_metadata_store to remove in background migrationShinya Maeda2018-06-071-3/+4
* Clean up migrate_legacy_artifacts.rb (Fix static analysys)Shinya Maeda2018-06-071-31/+37
* Remove the culcuration method of metadata sizeShinya Maeda2018-06-071-15/+4
* Remove Gitlab::BackgroundMigration:: scopeShinya Maeda2018-06-071-6/+6
* Rename current_path to hashed_pathShinya Maeda2018-06-071-2/+2
* Rename location_1/2 to current/legacy_pathShinya Maeda2018-06-071-7/+7
* Rename path_type to file_location. Fix JobArtifactUploader to look up correct...Shinya Maeda2018-06-071-33/+68
* Add background migration for legacy artifactsShinya Maeda2018-06-071-0/+70