Skip to content
代码片段 群组 项目
提交 2d7bada3 编辑于 作者: Phillip Wells's avatar Phillip Wells
浏览文件

Merge branch 'docs-jl-repo-tracking-warning' into 'master'

Add Praefect generated repository tracking warning

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124483



Merged-by: default avatarPhillip Wells <pwells@gitlab.com>
Approved-by: default avatarPhillip Wells <pwells@gitlab.com>
Co-authored-by: default avatarJessie Lee <jlee@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -432,6 +432,10 @@ sudo /opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.t ...@@ -432,6 +432,10 @@ sudo /opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.t
> - [Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5658) in GitLab 14.4. > - [Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5658) in GitLab 14.4.
> - [Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5789) in GitLab 14.6, support for immediate replication. > - [Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5789) in GitLab 14.6, support for immediate replication.
WARNING:
Manually adding repositories to the tracking database is broken with Praefect-generated replica paths (`@cluster`).
The repository is not given the correct relative repository path.
The `track-repository` Praefect sub-command adds repositories on disk to the Praefect tracking database to be tracked. The `track-repository` Praefect sub-command adds repositories on disk to the Praefect tracking database to be tracked.
```shell ```shell
...@@ -484,6 +488,10 @@ This command fails if: ...@@ -484,6 +488,10 @@ This command fails if:
> [Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/6319) in GitLab 15.4. > [Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/6319) in GitLab 15.4.
WARNING:
Manually adding repositories to the tracking database is broken with Praefect-generated replica paths (`@cluster`).
The repository is not given the correct relative repository path.
Migrations using the API automatically add repositories to the Praefect tracking database. Migrations using the API automatically add repositories to the Praefect tracking database.
If you are instead manually copying repositories over from existing infrastructure, you can use the `track-repositories` If you are instead manually copying repositories over from existing infrastructure, you can use the `track-repositories`
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册