Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | disable_statement_timeout doesn't require any argument anymore | Gabriel Mazetto | 2018-08-11 | 14 | -19/+18 |
| | | | | | | | | | it will decide the method for disable statement_timeout upon per transaction or per session, based on how it's called. When calling with a block, block will be executed and it will use session based statement_timeout, otherwise will default to existing behavior. | ||||
* | Fix specs to use `disable_statement_timeout` correctly | Gabriel Mazetto | 2018-08-10 | 14 | -114/+117 |
| | |||||
* | Merge branch ↵ | Douglas Barbosa Alexandre | 2018-07-25 | 1 | -0/+25 |
|\ | | | | | | | | | | | | | 'ce-6064-geo-sql-query-for-counting-projects-with-wikis-is-very-slow' into 'master' [CE Backport] Geo: Cache projects_count and wikis_count in SiteStatistic See merge request gitlab-org/gitlab-ce!20413 | ||||
| * | Added SiteStatistics as counter cache for Projects and Wikis | Gabriel Mazetto | 2018-07-24 | 1 | -0/+25 |
| | | |||||
* | | Enable rubocop for db/**/* and ee/db/**/*49582-enable-cops-for-db | Lin Jen-Shin | 2018-07-25 | 17 | -11/+13 |
|/ | |||||
* | Improve projects indexes4525-fix-project-indexes | Valery Sizov | 2018-07-16 | 1 | -0/+23 |
| | |||||
* | Use schedulers and delete diff files upon deadtuples check | Oswaldo Ferreira | 2018-07-10 | 1 | -2/+2 |
| | |||||
* | Reschedule DeleteDiffFiles until there is none left to remove | Oswaldo Ferreira | 2018-07-10 | 1 | -1/+11 |
| | |||||
* | Wait postgresql vacuum of deadtuples on merge_request_diff_files deletion | Oswaldo Ferreira | 2018-07-10 | 1 | -12/+3 |
| | |||||
* | Add 1000 files per minute deletion ratio on scheduler | Oswaldo Ferreira | 2018-07-10 | 1 | -35/+3 |
| | |||||
* | Create a diff deletion worker scheduler to avoid long-running post-migration | Oswaldo Ferreira | 2018-07-10 | 1 | -18/+4 |
| | |||||
* | Schedule batches in bulks of 5 diffs | Oswaldo Ferreira | 2018-07-10 | 1 | -9/+10 |
| | | | | Issuing 6M writings in a N+1 manner in Redis takes time, 3 hours to be precise. This commit makes it schedule 5 jobs at a time, what should make it schedule every job in approximately 40 minutes | ||||
* | Revert "Temporarily remove MR diffs removal migration" | Sean McGivern | 2018-07-10 | 1 | -0/+70 |
| | | | | This reverts commit 15ec6a13eb4d839d252315bf5b0a50d28351cb5f. | ||||
* | Migration which fixes cross-project label references | Jan Provaznik | 2018-07-03 | 1 | -0/+30 |
| | |||||
* | Merge branch 'temporarily-remove-mr-diffs-migration' into 'master' | Alessio Caiazza | 2018-07-03 | 1 | -70/+0 |
|\ | | | | | | | | | Temporarily remove MR diffs removal migration See merge request gitlab-org/gitlab-ce!20330 | ||||
| * | Temporarily remove MR diffs removal migration | Sean McGivern | 2018-07-03 | 1 | -70/+0 |
| | | | | | | | | We will re-add this with a more efficient bulk scheduling method. | ||||
* | | Backport partial index to find repositories that have not been checked | Stan Hu | 2018-07-02 | 1 | -0/+18 |
|/ | | | | This was introduced in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5984. | ||||
* | Add pipeline stages position clean-up migration | Grzegorz Bizon | 2018-06-29 | 1 | -0/+43 |
| | |||||
* | Schedule workers to delete non-latest diffs in post-migration | Oswaldo Ferreira | 2018-06-28 | 1 | -0/+70 |
| | |||||
* | Revert rename allow collaboration column | Mark Chao | 2018-06-08 | 2 | -2/+24 |
| | |||||
* | [Rails5] Fix Arel::UpdateManager calls | blackst0ne | 2018-06-06 | 2 | -2/+4 |
| | | | | | | In Rails 5.0 `Arel::UpdateManager.new` doesn't expect any parameters. This commit makes the migration not pass any parameters if on Rails 5.0. | ||||
* | Migrate jobs in object_storage_upload queue | Jan Provaznik | 2018-06-05 | 1 | -0/+16 |
| | |||||
* | Merge branch '42751-rename-mr-maintainer-push' into 'master' | Robert Speicher | 2018-06-05 | 1 | -0/+15 |
|\ | | | | | | | | | Rephrase Merge Request Maintainer Edit See merge request gitlab-org/gitlab-ce!19061 | ||||
| * | Rephrase "maintainer" to more precise "members who can merge to the target ↵42751-rename-mr-maintainer-push | Mark Chao | 2018-06-01 | 1 | -0/+15 |
| | | | | | | | | | | | | branch" "Maintainer" will be freed to be used for #42751 | ||||
* | | Merge branch 'add-background-migrations-for-not-archived-traces' into 'master' | Kamil Trzciński | 2018-06-05 | 1 | -0/+35 |
|\ \ | | | | | | | | | | | | | | | | | | | Add background migrations to archive legacy job traces Closes #46642 See merge request gitlab-org/gitlab-ce!19194 | ||||
| * | | Add type_build to ScheduleToArchiveLegacyTraces::Build | Shinya Maeda | 2018-06-04 | 1 | -1/+3 |
| | | | |||||
| * | | Fix specs. Rename migration file name which was conflicted with background ↵ | Shinya Maeda | 2018-06-04 | 1 | -2/+2 |
| | | | | | | | | | | | | migration's. | ||||
| * | | Directly refer application code from migration code | Shinya Maeda | 2018-06-04 | 1 | -15/+4 |
| | | | |||||
| * | | Add background migrations to arhive legacy traces | Shinya Maeda | 2018-06-04 | 1 | -0/+44 |
| | | | |||||
* | | | Fix missing key change in ↵sh-fix-secrets-not-working | Stan Hu | 2018-06-02 | 1 | -1/+1 |
|/ / | | | | | | | 20171124104327_migrate_kubernetes_service_to_new_clusters_architectures.rb | ||||
* | | Merge branch 'sh-bump-ruby-2.4' into 'master' | Stan Hu | 2018-06-01 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | Upgrade to Ruby 2.4.4 See merge request gitlab-org/gitlab-ce!19055 | ||||
| * | | Upgrade to Ruby 2.4.4sh-bump-ruby-2.4 | Stan Hu | 2018-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes that make this work: * A change in Ruby (https://github.com/ruby/ruby/commit/ce635262f53b760284d56bb1027baebaaec175d1) requires passing in the exact required length for OpenSSL keys and IVs. * Ensure the secrets.yml is generated before any prepended modules are loaded. This is done by renaming the `secret_token.rb` initializer to `01_secret_token.rb`, which is a bit ugly but involves the least impact on other files. | ||||
* | | | Merge branch '46019-add-missing-migration' into 'master' | Yorick Peterse | 2018-06-01 | 1 | -0/+19 |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | Resolve "ActiveRecord::RecordInvalid: Validation failed: Build timeout needs to be at least 10 minutes" Closes #46019 See merge request gitlab-org/gitlab-ce!18775 | ||||
| * | | Add missing migration for minimal Project build_timeout | Tomasz Maczukin | 2018-05-22 | 1 | -0/+19 |
| | | | |||||
* | | | Merge branch '41587-osw-mr-metrics-migration-take-two' into 'master' | Grzegorz Bizon | 2018-05-31 | 1 | -0/+44 |
|\ \ \ | | | | | | | | | | | | | | | | | Take two for MR metrics population background migration See merge request gitlab-org/gitlab-ce!19097 | ||||
| * | | | Take two for MR metrics population background migration | Oswaldo Ferreira | 2018-05-30 | 1 | -0/+44 |
| | |/ | |/| | |||||
* | | | Export assigned issues in iCalendar feed | Imre Farkas | 2018-05-31 | 1 | -0/+13 |
|/ / | |||||
* | | Remove disable_statement_timeoutadd-background-migration-to-fill-file-store | Shinya Maeda | 2018-05-28 | 1 | -2/+0 |
| | | |||||
* | | Rename FillFileStoreUpload to FillStoreUpload | Shinya Maeda | 2018-05-28 | 1 | -1/+2 |
| | | |||||
* | | Add spec for fill_file_store migration | Shinya Maeda | 2018-05-28 | 1 | -0/+0 |
| | | |||||
* | | Fix schema and refactoring migration file | Shinya Maeda | 2018-05-28 | 1 | -24/+26 |
| | | |||||
* | | Remove legacy artifacts file_store migration | Shinya Maeda | 2018-05-28 | 1 | -30/+6 |
| | | |||||
* | | Add background migration to fill file stores | Shinya Maeda | 2018-05-28 | 1 | -0/+95 |
| | | |||||
* | | Resolve "Deprecate Gemnasium project service" | Olivier Gonzalez | 2018-05-23 | 1 | -0/+15 |
| | | |||||
* | | Add a unique and not null constraint on the project_features.project_id column | Stan Hu | 2018-05-15 | 2 | -0/+64 |
|/ | | | | | | | | | | | | | | | | | | | | This commit has two migrations: 1. The first prunes duplicate rows in the project_features table and leaves the row with the highest ID. Since the behavior was indeterministic before and depended on which row the database decided to use, this change at least makes the permissions consistent. For example, in some cases, the Wiki may have been disabled but enabled in another entry. 2. The second adds a non-null constraint on the project_features.project_id column. Closes #37882 Fixes a significant part of gitlab-com/migration#408. We found that we were overcounting Wikis because of these duplicates. On GitLab.com, there are 56 rows with duplicate entries by project_id, and 16,661 rows with NULL project_id values. | ||||
* | Backports every CE related change from ee-44542 to CE | Tiago Botelho | 2018-05-04 | 1 | -0/+38 |
| | |||||
* | Fix constants in backfill_runner_type_for_ci_runners_post_migrate.rb | Dylan Griffith | 2018-05-03 | 1 | -4/+4 |
| | |||||
* | Extract constants in ↵ | Dylan Griffith | 2018-05-03 | 1 | -2/+5 |
| | | | | 20180430143705_backfill_runner_type_for_ci_runners_post_migrate | ||||
* | Merge branch 'master' into feature/runner-per-group | Dylan Griffith | 2018-05-03 | 1 | -0/+29 |
|\ | |||||
| * | Update 20180420080616_schedule_stages_index_migration.rb | Grzegorz Bizon | 2018-04-27 | 1 | -1/+1 |
| | |