Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2025-05-28 09:18:20 +00:00
parent e39f2c7dab
commit 5c2a27a69b
14 changed files with 170 additions and 27 deletions

View File

@ -1056,6 +1056,15 @@ Considering these, you should carefully plan your PostgreSQL upgrade:
sudo gitlab-ctl pg-upgrade
```
1. Ensure that the compatible versions of `pg_dump` and `pg_restore` are used
on the GitLab Rails instance to avoid version mismatch errors when performing
a backup or restore. You can do this by specifying the PostgreSQL version
in `/etc/gitlab/gitlab.rb` on the Rails instance:
```shell
postgresql['version'] = 16
```
If issues are encountered upgrading the replicas,
[there is a troubleshooting section](replication_and_failover_troubleshooting.md#postgresql-major-version-upgrade-fails-on-a-patroni-replica) that might be the solution.