该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。
拉取镜像更新于 。
- 2月 22, 2024
-
-
由 Maxime Orefice 创作于
This commit creates the routing table for ci_stages. Changelog: other
-
- 2月 21, 2024
-
-
由 Dmitry Gruzd 创作于
Changelog: changed
-
- 2月 15, 2024
-
-
由 Maxime Orefice 创作于
This commit introduces a FF which will allow us to read Ci::JobArtifact from our new partitioned table.
-
由 Manoj M J 创作于
-
- 2月 14, 2024
-
-
由 Max Woolf 创作于
This table belonged to an old version of product analytics that is no longer used. No production has been stored here for years. Changelog: removed
-
- 2月 09, 2024
-
-
由 Maxime Orefice 创作于
This commit creates the routing table for ci_job_artifacts. Changelog: other
-
- 2月 07, 2024
-
-
由 Panos Kanellidis 创作于
Adds an FK from p_ci_builds to ci_stages now that the partitiones have the foreign key This commit also introduces synchronous validations for the FKs in the partitions, for self-managed Changelog: other
-
- 1月 30, 2024
-
-
由 Panos Kanellidis 创作于
It adds a new partitioned foreign key between the partitions of `p_ci_builds` and `ci_stages` that will be used for partitioning this table. https://docs.gitlab.com/ee/development/database/partitioning/list.html#step-4---enforce-foreign-key-constraint Changelog: other
-
- 1月 25, 2024
-
-
由 Siddharth Dungarwal 创作于
EE: true Changelog: added
-
- 1月 22, 2024
-
-
由 Panos Kanellidis 创作于
Creates the partitioned table for ci_pipeline_variables and attaches the table as the first partition. Changelog: other
-
- 1月 11, 2024
-
-
由 Maxime Orefice 创作于
This MR cascades partition_id from pipeline to Ci::PipelineConfig. We need to add this new column in order to redefine the FK association between ci_pipeline_artifacts and ci_pipelines. Changelog: added
-
由 Maxime Orefice 创作于
This MR cascades partition_id from pipeline to Ci::PipelineArtifact. We need to add this new column in order to redefine the FK association between ci_pipeline_artifacts and ci_pipelines. Changelog: added
-
由 Maxime Orefice 创作于
This MR cascades partition_id from pipeline to Ci::PipelineMetadata. We need to add this new column in order to redefine the FK association between ci_pipeline_metadata and ci_pipelines. Changelog: added
-
- 1月 05, 2024
-
-
由 Adam Hegyi 创作于
This change adds a cache table for storing namespace descendants and project ids so we can retrieve them efficiently. Changelog: added
-
由 Dylan Griffith 创作于
As part of the [Cells](https://docs.gitlab.com/ee/architecture/blueprints/cells/) effort we need to classify all tables as `gitlab_main_cell` or `gitlab_main_clusterwide`. In the future these tables will be split into different databases. For now when we classify these tables we will start to get errors in CI for [cross-joins](https://docs.gitlab.com/ee/development/database/multiple_databases.html#removing-joins-between-ci-and-non-ci-tables), [cross-transactions](https://docs.gitlab.com/ee/development/database/multiple_databases.html#removing-cross-database-transactions) and [cross-database foreign keys](https://docs.gitlab.com/ee/development/database/multiple_databases.html#foreign-keys-that-cross-databases). This MR adds an allowlist in the `db/docs` file per type to avoid seeing these failures once we classify the table as `gitlab_main_cell`. This is to to support [automatically labelling hundreds of tables](https://gitlab.com/gitlab-org/gitlab/-/issues/429172) in bulk with `gitlab_main_cell` (as part of the [Organization Isolation](https://docs.gitlab.com/ee/architecture/blueprints/organization/isolation.html) effort) . This will result in lots of pipeline failures and we want to deal with these those cross-join (etc.) fixes later. For now we just want to classify things. You can see the example format of allowing in the `db/docs/achievements.yml` change which was chosen as an arbitrary example to prove that this works.
-
- 12月 22, 2023
-
-
由 Terri Chu 创作于
Changelog: added EE: true
-
- 12月 21, 2023
-
-
由 Maxime Orefice 创作于
This commit cascades partition_id from the pipeline, we need to add this new column in order to redefine the FK association between ci_pipeline_chat_data and ci_pipelines. As in order to partition ci_pipelines all references FK must include the partition key. Changelog: added
-
- 12月 18, 2023
-
-
由 Dylan Griffith 创作于
As part of our Cells effort we are going to need to backfill a `sharding_key` to many tables. The `sharding_key` can be any foreign key that references `projects`, `namespaces` or `organizations`. You can read more about this at https://docs.gitlab.com/ee/development/database/multiple_databases.html#defining-a-sharding-key-for-all-cell-local-tables .The enforcement of having a `sharding_key` for new tables was already implemented in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/136682 . Additionally we have recently shown examples of how we plan to backfill a sharding_key to a table that is missing it in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/136800 . This MR extends this work by allowing a very minimal way to declare in the `db/docs` file a `desired_sharding_key` a strategy to backfill a new column that will eventually become the `sharding_key`. An example has been given in this MR which looks like: ```yml desired_sharding_key: project_id: references: projects backfill_via: parent: foreign_key: scanner_id table: vulnerability_scanners sharding_key: project_id belongs_to: scanner ``` To understand best how this YML data will be used you can map it onto the merge request we created manually in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/136800 . The idea will be to automatically create this. The content of the YML specifies the parent table and it's sharding_key to backfill from in the batched background migration. It also specifies a `belongs_to` relation which will be added to the model to automatically populate the sharding_key in the `before_save`. The idea behind this is to save developers the effort of creating MRs which add the new column and writing a batched background migration to backfill this column and all the followup work related to that. Instead we will be building automation that uses this data in the YML file to automatically create all the merge requests for creating the column and backfilling it.
-
- 12月 06, 2023
-
-
由 Leaminn Ma 创作于
Adds catalog_resource_sync_events table and model to serve as a queue of catalog resources that need to be synchronized with data changes to their associated `projects` records. PG triggers add SyncEvent records when a catalog resource is created or when a relevant column in an associated project is updated. A worker processes the sync events. Changelog: added
-
- 12月 05, 2023
-
-
由 Bojan Marjanovic 创作于
-
- 12月 01, 2023
-
-
由 Jon Jenkins 创作于
Changelog: performance
-
- 11月 29, 2023
-
-
由 Manoj M J 创作于
-
- 11月 21, 2023
-
-
由 Panos Kanellidis 创作于
This change adds the calls partitionable method on job_artifact_state scoped under job_artifact Changelog: added
-
- 11月 16, 2023
-
-
由 Tiger 创作于
Changelog: other
-
- 11月 15, 2023
-
-
由 Serhii Yarynovskyi 创作于
-
- 11月 01, 2023
-
-
由 Dylan Griffith 创作于
This is causing a master broken in https://gitlab.com/gitlab-org/quality/engineering-productivity/master-broken-incidents/-/issues/4019 This was merged in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/133566 and must have somehow conflicted with a rubocop rule we were adding.
-
- 10月 31, 2023
-
-
由 xfyuan 创作于
JH expects to use a separate database, which referred to the solution of adding Geo database. So it needs upstream to change some code to support it. The detail description is in the issue: https://gitlab.com/gitlab-jh/gitlab-jh-enablement/-/issues/343 And the JH whole draft MR can be found here: !1898
-
- 10月 30, 2023
-
-
由 Krasimir Angelov 创作于
Drops the index index_namespaces_on_created_at which is not used on GitLab.com. See https://gitlab.com/gitlab-org/gitlab/-/issues/425974. Changelog: other
-
- 10月 21, 2023
-
-
由 Jon Jenkins 创作于
Adds support code to start requiring milestones as well as including the current milestone when generating a new migration. Update some failing tests Slight updates
-
- 10月 18, 2023
-
-
由 Marius Bobin 创作于
Changelog: other
-
- 10月 16, 2023
-
-
由 Eugenia Grieff 创作于
Adds restrictions for predefined work item types. Changelog: added
-
- 9月 22, 2023
-
-
由 Pedro Pombeiro 创作于
Changelog: added EE: true
-
- 9月 20, 2023
-
-
由 Adam Hegyi 创作于
This change extends the analytics_cycle_analytics_issue_stage_events with the weight and spring_id columns. Changelog: added
-
- 9月 19, 2023
-
-
由 Marius Bobin 创作于
Changelog: other
-
- 9月 15, 2023
-
-
由 Michael Becker 创作于
The asynchronous index was added in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/130007 related to https://gitlab.com/gitlab-org/gitlab/-/issues/418970 resolves https://gitlab.com/gitlab-org/gitlab/-/issues/423541 Changelog: changed EE: true
-
- 9月 14, 2023
-
-
由 Manoj M J 创作于
Changelog: other
-
- 9月 04, 2023
-
-
由 Alex Pooley 创作于
Changelog: added
-
- 9月 02, 2023
-
-
由 Michael Becker 创作于
There is an existing `has_many`/`belongs_to` association between the `vulnerabilities` and `vulnerability_occurrences` tables. We want to make this a legit 1-to-1 relationship eventually. As a step towards that we are adding an `id` column that will eventually be used for a foreign ey constraint. after adding the column and updating the app code to write to the column, we need to backfill the new column. [MR 130058][0] will handle the backfill resolves: https://gitlab.com/gitlab-org/gitlab/-/issues/418970 [0]:https://gitlab.com/gitlab-org/gitlab/-/merge_requests/130058 Changelog: changed EE: true
-
- 8月 23, 2023
-
-
由 Omar Qunsul 创作于
Adding tests to detect duplicate btree indexes. This will help us avoid adding unnecessary indexes Changelog: other
-