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
07215fe6
Commit
07215fe6
authored
Mar 24, 2020
by
Paul Okstad
Committed by
James Lopez
Mar 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Gitaly to 12.9.0-rc5
parent
fefbb917
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
1 deletion
+29
-1
GITALY_SERVER_VERSION
GITALY_SERVER_VERSION
+1
-1
changelogs/unreleased/pokstad1-praefect-docs-reconcile-subcmd.yml
...gs/unreleased/pokstad1-praefect-docs-reconcile-subcmd.yml
+5
-0
doc/administration/gitaly/praefect.md
doc/administration/gitaly/praefect.md
+23
-0
No files found.
GITALY_SERVER_VERSION
View file @
07215fe6
12.9.0-rc
1
12.9.0-rc
5
changelogs/unreleased/pokstad1-praefect-docs-reconcile-subcmd.yml
0 → 100644
View file @
07215fe6
---
title
:
Update Gitaly to 12.9.0-rc5
merge_request
:
27631
author
:
type
:
added
doc/administration/gitaly/praefect.md
View file @
07215fe6
...
@@ -682,6 +682,29 @@ for example behind a load balancer, `failover_enabled` should be disabled. The r
...
@@ -682,6 +682,29 @@ for example behind a load balancer, `failover_enabled` should be disabled. The r
is no coordination that currently happens across different Praefect instances, so there could be a situation where
is no coordination that currently happens across different Praefect instances, so there could be a situation where
two Praefect instances think two different Gitaly nodes are the primary.
two Praefect instances think two different Gitaly nodes are the primary.
## Backend Node Recovery
When a Praefect backend node fails and is no longer able to
replicate changes, the backend node will start to drift from the primary. If
that node eventually recovers, it will need to be reconciled with the current
primary. The primary node is considered the single source of truth for the
state of a shard. The Praefect
`reconcile`
subcommand allows for the manual
reconciliation between a backend node and the current primary.
Run the following command on the Praefect server after all placeholders
(
`<virtual-storage>`
and
`<target-storage>`
) have been replaced:
```
shell
sudo
/opt/gitlab/embedded/bin/praefect
-config
/var/opt/gitlab/praefect/config.toml reconcile
-virtual
<virtual-storage>
-target
<target-storage>
```
-
Replace the placeholder
`<virtual-storage>`
with the virtual storage containing the backend node storage to be checked.
-
Replace the placeholder
`<target-storage>`
with the backend storage name.
The command will return a list of repositories that were found to be
inconsistent against the current primary. Each of these inconsistencies will
also be logged with an accompanying replication job ID.
## Grafana
## Grafana
Grafana is included with GitLab, and can be used to monitor your Praefect
Grafana is included with GitLab, and can be used to monitor your Praefect
...
...
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