Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure consistent column order | Michael Kozono | 2017-12-01 | 1 | -1/+1 |
| | |||||
* | Don’t quote `NOW()` for created_at column | Michael Kozono | 2017-12-01 | 2 | -3/+9 |
| | | | | To fix for MySQL. | ||||
* | Refactor | Michael Kozono | 2017-12-01 | 1 | -6/+6 |
| | |||||
* | Don’t recreate deleted uploads | Michael Kozono | 2017-12-01 | 3 | -12/+51 |
| | |||||
* | Get rid of timestamps on untracked files table | Michael Kozono | 2017-12-01 | 1 | -3/+2 |
| | | | | `updated_at` is now unnecessary and `created_at` is less useful due to removing the tracked field. | ||||
* | Bulk insert uploads | Michael Kozono | 2017-12-01 | 1 | -49/+14 |
| | |||||
* | Filter existing uploads with one query | Michael Kozono | 2017-12-01 | 2 | -92/+68 |
| | |||||
* | Refactor | Michael Kozono | 2017-12-01 | 2 | -16/+13 |
| | |||||
* | Get rid of tracked field | Michael Kozono | 2017-12-01 | 3 | -29/+7 |
| | | | | It makes a debugging slightly easier, but is not necessary, and is a waste of resources. | ||||
* | Refactor | Michael Kozono | 2017-12-01 | 1 | -10/+3 |
| | |||||
* | Fix datetime inserts on MySQL | Michael Kozono | 2017-12-01 | 1 | -3/+1 |
| | |||||
* | Fix Rubocop offense | Michael Kozono | 2017-12-01 | 1 | -0/+1 |
| | |||||
* | Use bulk inserts | Michael Kozono | 2017-12-01 | 3 | -71/+184 |
| | |||||
* | Use ionice absolute path | Michael Kozono | 2017-12-01 | 1 | -2/+3 |
| | |||||
* | Attempt to fix spec in CI | Michael Kozono | 2017-12-01 | 1 | -1/+1 |
| | |||||
* | Log the find command used | Michael Kozono | 2017-12-01 | 1 | -0/+2 |
| | |||||
* | Move temp table creation into the prepare job | Michael Kozono | 2017-12-01 | 6 | -77/+76 |
| | | | | | * Hopefully fixes spec failures in which the table doesn’t exist * Decouples the background migration from the post-deploy migration, e.g. we could easily run it again even though the table is dropped when finished. | ||||
* | Fix migration for pre-Postgres 9.5 | Michael Kozono | 2017-12-01 | 1 | -1/+15 |
| | |||||
* | Fix Rubocop offenses | Michael Kozono | 2017-12-01 | 4 | -11/+9 |
| | |||||
* | Drop temporary tracking table when finished | Michael Kozono | 2017-12-01 | 6 | -92/+131 |
| | |||||
* | Refactor specs | Michael Kozono | 2017-12-01 | 4 | -337/+183 |
| | |||||
* | Speed up inserts | Michael Kozono | 2017-12-01 | 1 | -2/+4 |
| | |||||
* | Fallback on checksum jobs | Michael Kozono | 2017-12-01 | 1 | -0/+2 |
| | | | | Since `calculate_checksum` depends on `Uploader` classes which are not defined in this background migration and may change at any time. | ||||
* | Remove irrelevant copy-pasted code | Michael Kozono | 2017-12-01 | 1 | -20/+0 |
| | |||||
* | Fix uploads.path length for long filenames | Michael Kozono | 2017-12-01 | 2 | -1/+26 |
| | | | | This will prevent our other migration for adding old files to the uploads table from breaking. | ||||
* | Fix MySQL path field length | Michael Kozono | 2017-12-01 | 1 | -1/+1 |
| | | | | | | I believe the field only needs to fit 519 at the moment but I’m rounding up to be a little safer. See the migration spec for more detail on the magic number 519. | ||||
* | Store paths relative to CarrierWave.root | Michael Kozono | 2017-12-01 | 5 | -68/+79 |
| | | | | | | So the path on source installs cannot be too long for our column. And fix the column length test since Route.path is limited to 255 chars, it doesn’t matter how many nested groups there are. | ||||
* | Fix `ionice` prepend | Michael Kozono | 2017-12-01 | 1 | -1/+1 |
| | |||||
* | Exclude `untracked_files_for_uploads` from schema | Michael Kozono | 2017-12-01 | 1 | -10/+0 |
| | | | | | | Because it is a temporary table meant only to facilitate a migration of data. It is referenced only by the post-deploy migration and 2 related background migrations. It should be dropped when the data migration is finished. | ||||
* | Clean up after test | Michael Kozono | 2017-12-01 | 1 | -1/+7 |
| | |||||
* | Remove unnecessary clearing | Michael Kozono | 2017-12-01 | 2 | -7/+2 |
| | | | | Since duplicate inserts are now ignored. | ||||
* | Reword test | Michael Kozono | 2017-12-01 | 1 | -1/+1 |
| | |||||
* | Rename table to untracked_files_for_uploads | Michael Kozono | 2017-12-01 | 7 | -157/+157 |
| | |||||
* | Refactor, no change in behavior | Michael Kozono | 2017-12-01 | 5 | -39/+53 |
| | |||||
* | Use `find` `-prune` option for performance | Michael Kozono | 2017-12-01 | 1 | -2/+4 |
| | |||||
* | Make regexes more readable | Michael Kozono | 2017-12-01 | 2 | -13/+13 |
| | |||||
* | Avoid instantiating an AR object and ignore dupes | Michael Kozono | 2017-12-01 | 1 | -1/+15 |
| | |||||
* | Add changelog entry | Michael Kozono | 2017-12-01 | 1 | -0/+5 |
| | |||||
* | Fix Rubocop offenses | Michael Kozono | 2017-12-01 | 4 | -14/+14 |
| | |||||
* | Test batch processing | Michael Kozono | 2017-12-01 | 1 | -0/+42 |
| | |||||
* | Allow individual failures | Michael Kozono | 2017-12-01 | 1 | -16/+24 |
| | |||||
* | Calculate checksums | Michael Kozono | 2017-12-01 | 3 | -110/+170 |
| | | | | | | by copy-pasting in the whole `Upload` class. Also, fix `Namespace` `model_type` (it should not be `Group`). | ||||
* | Add untracked files to uploads | Michael Kozono | 2017-12-01 | 3 | -34/+752 |
| | |||||
* | Kick off follow up background migration jobs | Michael Kozono | 2017-12-01 | 3 | -17/+105 |
| | | | | To process the unhashed_upload_files table. | ||||
* | Find and store unhashed upload file paths | Michael Kozono | 2017-12-01 | 2 | -6/+132 |
| | |||||
* | Backport `which` from EE | Michael Kozono | 2017-12-01 | 2 | -1/+26 |
| | |||||
* | Add TrackUntrackedUploads post-deploy migration | Michael Kozono | 2017-12-01 | 4 | -0/+195 |
| | | | | To create the table, and schedule the background migration that begins the work. | ||||
* | Merge branch 'docs_ext_redmine_fix' into 'master'40651-comment-is-lost-when-leaving-page-while-submitting | Achilleas Pipinellis | 2017-12-01 | 2 | -13/+16 |
|\ | | | | | | | | | Documentation bug fixes: Added procedure to disable built-in Issues. See merge request gitlab-org/gitlab-ce!15581 | ||||
| * | Documentation bug fixes: Added procedure to disable built-in Issues. | Koichiro Mikami | 2017-12-01 | 2 | -13/+16 |
|/ | |||||
* | Merge branch ↵ | Robert Speicher | 2017-12-01 | 2 | -1/+3 |
|\ | | | | | | | | | | | | | | | | | '40746-broken-master-due-to-failure-in-spec-services-clusters-applications-schedule_installation_service_spec-rb' into 'master' Ensure `Namespace`'s is namespaced in `Gitlab::Kubernetes::Helm#initialize` and fix a transient failing spec due to that Closes #40746 See merge request gitlab-org/gitlab-ce!15684 |