Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5cdc5366
Commit
5cdc5366
authored
Jan 04, 2022
by
Daniel Diniz
Committed by
Marcel Amirault
Jan 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update troubleshoot read-write geo secondary database
parent
e79ea588
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
doc/administration/geo/replication/troubleshooting.md
doc/administration/geo/replication/troubleshooting.md
+11
-3
No files found.
doc/administration/geo/replication/troubleshooting.md
View file @
5cdc5366
...
...
@@ -934,16 +934,24 @@ This error refers to a problem with the database replica on a **secondary** node
which Geo expects to have access to. It usually means, either:
-
An unsupported replication method was used (for example, logical replication).
-
The instructions to setup a
[
Geo database replication
](
../setup/database.md
)
were not followed correctly.
-
The instructions to set
up a
[
Geo database replication
](
../setup/database.md
)
were not followed correctly.
-
Your database connection details are incorrect, that is you have specified the wrong
user in your
`/etc/gitlab/gitlab.rb`
file.
A common source of confusion with
**secondary**
nodes is that it requires two separate
PostgreSQL instances:
Geo
**secondary**
sites require two separate PostgreSQL instances:
-
A read-only replica of the
**primary**
node.
-
A regular, writable instance that holds replication metadata. That is, the Geo tracking database.
This error indicates that the replica database in the
**secondary**
site is misconfigured and replication has stopped.
To restore the database and resume replication, you can do one of the following:
-
[
Reset the Geo secondary site replication
](
#resetting-geo-secondary-node-replication
)
.
-
[
Set up a new secondary Geo Omnibus instance
](
../setup/index.md#using-omnibus-gitlab
)
.
If you set up a new secondary from scratch, you must also
[
remove the old site from the Geo cluster
](
remove_geo_site.md#removing-secondary-geo-sites
)
.
### Geo node does not appear to be replicating the database from the primary node
The most common problems that prevent the database from replicating correctly are:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment