Commit 5e762458 authored by Valery Sizov's avatar Valery Sizov

[Geo] Add instructions to remove tracking database after promotion

parent e600d6b4
...@@ -180,6 +180,16 @@ Geo on the new primary. ...@@ -180,6 +180,16 @@ Geo on the new primary.
To bring a new secondary online, follow the [Geo setup instructions][setup-geo]. 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 ## 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 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