From 36f0d078d3faccd6aadd3808fa1ec7231dd95727 Mon Sep 17 00:00:00 2001 From: David Wainaina Date: Tue, 26 Sep 2023 17:07:36 +0000 Subject: [PATCH] Update file globals.md --- doc/charts/globals.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/charts/globals.md b/doc/charts/globals.md index 8e2ef9ca7a..b06bc12eaa 100644 --- a/doc/charts/globals.md +++ b/doc/charts/globals.md @@ -393,8 +393,17 @@ global: > The `gitlab:db:decomposition:connection_status` Rake task was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/111927) in GitLab 15.11. -In GitLab 16.0, GitLab defaults to using two database connections -that point to the same PostgreSQL database. +In GitLab 16.0, GitLab defaults to using two database connections that point to the same PostgreSQL database. + +To ensure that the `ci` database does not execute any database management tasks such as schema management, schema migration, seeds, etc., please make sure that the `database_tasks` setting is set to `false`. By default, this setting is configured as `true`. + +```yaml +global: + psql: + ci: + enabled: true + databaseTasks: false +``` If you wish to switch back to single database connection, set the `ci.enabled` key to `false`: -- GitLab