debian-mirror-gitlab/doc/administration/raketasks/praefect.md
2020-04-22 19:07:51 +05:30

677 B

Praefect Rake Tasks

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