Skip to content
代码片段 群组 项目
提交 eedab48e 编辑于 作者: Kassio Borges's avatar Kassio Borges 提交者: Prabakaran Murugesan
浏览文件

Remove pages_deployments[project_id, path_prefix] unique index

Currently we keep pages deployments for about 30m after creating a new
one. This is to avoid racing conditions between the time the new
deployment is created and GitLab Pages is updates its caches with the
latest deployment.

Therefore, while we use this mechanism, we cannot enforce uniqueness on
pages_deployments for project_id and path_prefix, as more than one
deploy for given path_prefix might exist.

Related to:

- Issue that introduced the index:
  - https://gitlab.com/gitlab-org/gitlab/-/issues/416488
- Problem was found while working on
  - https://gitlab.com/gitlab-org/gitlab/-/merge_requests/129534
  - https://gitlab.com/gitlab-org/gitlab/-/issues/416492
Changelog: added
上级 8989a4a2
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册