Using a Geo Server
After you set up the database replication and configure the GitLab Geo nodes, there are a few things to consider:
-
Users need an extra step to be able to fetch code from the secondary and push to primary:
-
Clone the repository as you would normally do, but from the secondary node:
git clone git@secondary.gitlab.example.com:user/repo.git
-
Change the remote push URL to always push to primary, following this example:
git remote set-url --push origin git@primary.gitlab.example.com:user/repo.git
-