debian-mirror-gitlab/doc/administration/raketasks/praefect.md
2020-06-23 00:09:42 +05:30

693 B

Praefect Rake Tasks (CORE ONLY)

Introduced in GitLab 12.10.

Replica checksums

Prints out checksums of the repository of a given project_id on the primary as well as secondary internal Gitaly nodes.

NOTE: Note: This only is relevant and works for projects that have been created on a Praefect storage. See the Praefect Documentation for configuring Praefect.

Omnibus Installation

sudo gitlab-rake "gitlab:praefect:replicas[project_id]"

Source Installation

sudo -u git -H bundle exec rake "gitlab:praefect:replicas[project_id]" RAILS_ENV=production