- Mar 20, 2024
-
-
Ravi Kumar authored
Add a new task move_indices_to_ready in the Zoekt::SchedulingService. This task Check move the initializing zoekt indices to ready if there is no zoekt_repositories in the pending state. Changelog: added MR: !146475 EE: true
-
Tianwen Chen authored
This is the second migration to validate the foreign key synchronously See https://docs.gitlab.com/ee/development/database/add_foreign_key_to_existing_column.html#add-a-migration-to-validate-the-fk-synchronously Changelog: added
-
Hitesh Raghuvanshi authored
Added model and table for event type filters for instance level streaming destinations Changelog: added EE: true
-
- Mar 19, 2024
-
-
Avielle Wolfe authored
When we add CI steps to the CI Catalog, we'll need to store the entire `spec` header section in the table. This commit is the first step towards migrating from the `inputs` field to a new `spec` field that will support the needs of both steps and components. Changelog: added Issue: #443662
-
- Mar 18, 2024
-
-
Roy Liu authored
Changelog: other
-
Mehmet Emin INAC authored
Changelog: fixed
-
Pam Artiaga authored
Index: index_environments_for_name_search_within_folder This index was used for a query that was changed in !146154
-
Krasimir Angelov authored
gitlab-org/gitlab!145881 introduced new partitioned table `p_catalog_resource_component_usages`, but it's position in `structure.sql` is not the one it should have when partitions exists. This updates the file to move the table definition to the right place. gitlab-org/gitlab!145881 (comment 1818346331) [skip-db-structure-check]
-
- Mar 08, 2024
-
-
Leaminn Ma authored
Adds a new partitioned table p_catalog_resource_component_usages. This table will track when a CI component is included in a project's pipeline. Only unique records of component-used_by_project-used_date are inserted. This data will be used to display component usage popularity aggregated by component or catalog_resource per 30 day rolling window. This table is partitioned by month. For now, the table will drop partitions with data older than 12 months. This duration will likely be reduced in a follow up issue. Changelog: added
-
Krasimir Angelov authored
gitlab-org/gitlab!144882 adds couple of indexes, but at the wrong position in `structure.sql`. This restores the expected order (alphabetical by index name). See also gitlab-org/gitlab!145294 (comment 1805667098). [skip-db-structure-check]
-
- Mar 07, 2024
-
-
Max Orefice authored
-
Suraj Tripathi authored
- Added user_id, custom_role_id column to member_approvals - Removed not null constraint from member_id and old_access_level - Changed unique index - Added loose foreign key for user_id - Added index for new columns Changelog: changed EE: true
-
Hitesh Raghuvanshi authored
Changelog: added EE: true
-
- Mar 06, 2024
-
-
Kerri Miller authored
This is the first step of partitioning the merge_request_diff_commits table by int range. Epic: &11271 Changelog: added
-
Mehmet Emin INAC authored
Changelog: changed
-
Smriti Garg authored
Expiring worker refactor done
-
Backfill RawUsageData records with Default organization
-
We want to drop the `vulnerability_occurrence_pipelines` table. In order to do this, we still need the first and latest pipeline ID stored somewhere to support the existing feature-set The columns and asynchronous index creation were added in a [previous MR][0] This change adds the synchronous index migration to complete the index creation [process][1] Follow-up Work --------------------------- We will need to add loose foreign keys and model association. Both of these are blocked on this index creation That work is tracked in the following tasks: - #443283 - #443284 --- Related to #422382 Resolves #443282 [0]:!144697 [1]:https://docs.gitlab.com/ee/development/database/adding_database_indexes.html#create-indexes-asynchronously Changelog: added
-
- Mar 05, 2024
-
-
Max Orefice authored
This commit makes sure the reference FK for ci_stages are now defined a the routing table level so all other new partitions will inherit from it. Changelog: other
-
Changelog: other
-
To be used for this change: !146154
-
In PruneExpiredExportJobsService, EachBatch won't scale for large volumes of data because we're trying to batch by pkey and a timestamp. This introduces a new index on project_export_jobs to use loop-based deletion and keyset pagination to more efficiently prune old uploads.
-
- Mar 04, 2024
-
-
Changelog: other
-
- Mar 03, 2024
-
-
Krasimir Angelov authored
!143868 introduced new FK, but not at the right place in `strcuture.sql` (constraints should be ordered alphabetically by name). [skip-db-structure-check]
-
- Mar 01, 2024
-
-
-
-
The `notes` records with NULL noteable_type are orphaned notes (the cause(s) are unknown.) They should be removed from the `notes` table. To insure against inadvertent data loss, `temp_notes_backup` table is created to store the removed records. `temp_notes_backup` should be removed later. Changelog: other
-
- Feb 28, 2024
-
-
We want to drop the `vulnerability_occurrence_pipelines` table. In order to do this, we still need the first and latest pipeline ID stored somewhere to support the existing feature-set Follow-up Work --------------------------- We will need to add loose foreign keys and model association. Both of these are blocked on index creation, which has to be done via the [async process][0] That work is tracked in the following tasks: - #443282 - #443283 - #443284 --- Related to #422382 Resolves #443281 Resolves #443280 [0]:https://docs.gitlab.com/ee/development/database/adding_database_indexes.html#create-indexes-asynchronously Changelog: added
-
This adds "Remove Group" as a custom role ability, so that it can be added onto any base role. Changelog: added EE: true
-
Max Orefice authored
Changelog: other
-
Hunter Stewart authored
We want to include approval_rule_id in the unique index so that users are able to approve more than once if they are in more than one group.
-
Hunar Khanna authored
Changelog: added
-
- Feb 27, 2024
-
-
Hinam Mehra authored
- Set it to false by default - Add a before_save hook to the MemberRole model to set occupies_seat to true, if a role is created with any of the elevated_permissions Changelog: added EE: true
-
Ankit Panchal authored
Changelog: added
-
Doug Stull authored
- needed to add the visibility functionality to organizations that mirrors namespace and project setup. - see #442147 Changelog: other
-
Jessie Young authored
- Was ignored in 16.9: !142849 - Next step is to drop in 16.10 - Will remove from ignore list in 16.11 per https://docs.gitlab.com/ee/development/database/avoiding_downtime_in_migrations.html#ignoring-the-column-release-m - #439402 Changelog: removed
-
Scott de Jonge authored
Add background database migration to migrate dark `color_mode_id` (`2`) where users have selected dark mode `theme_id` (`11`) Add ColorMode model Changelog: changed
-
- Feb 26, 2024
-
-
Shubham Kumar authored
Changelog: removed
-
Max Orefice authored
Changelog: other
-