Commit 567c5e64 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch '5820-geo-add-instructions-to-remove-tracking-database-after-promotion' into 'master'

[Geo] Add instructions to remove tracking database after promotion

See merge request gitlab-org/gitlab-ee!8143
parents 2771c6ec 5e762458
......@@ -210,6 +210,16 @@ Geo on the new primary.
To bring a new secondary online, follow the [Geo setup instructions][setup-geo].
### Step 6. (Optional) Removing the secondary's tracking database
Every **secondary** has a special tracking database that is used to save the status of the synchronization of all the items from the **primary**.
Because the **secondary** is already promoted, that data in the tracking database is no longer required.
The data can be removed with the following command:
```ssh
sudo rm -rf /var/opt/gitlab/geo-postgresql
```
## Promoting secondary Geo replica in multi-secondary configurations
If you have more than one secondary and you need to promote one of them we suggest you to follow
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment