Commit 2dd6194c authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'jc-docs-praefect-dataloss' into 'master'

Add praefect replicas rake task to praefect docs

Closes gitaly#2678

See merge request gitlab-org/gitlab!30889
parents f1de22e5 33454361
...@@ -765,6 +765,14 @@ To specify a timeframe in UTC, run: ...@@ -765,6 +765,14 @@ To specify a timeframe in UTC, run:
sudo /opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.toml dataloss -from 2020-01-02T00:00:00+00:00 -to 2020-01-02T00:02:00+00:00 sudo /opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.toml dataloss -from 2020-01-02T00:00:00+00:00 -to 2020-01-02T00:02:00+00:00
``` ```
### Checking repository checksums
To check a project's checksums across all nodes, the Praefect replicas Rake task can be used:
```shell
sudo gitlab-rake "gitlab:praefect:replicas[project_id]"
```
## Backend Node Recovery ## Backend Node Recovery
When a Praefect backend node fails and is no longer able to When a Praefect backend node fails and is no longer able to
......
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