gitlab-org--gitlab-foss/doc/administration/raketasks/praefect.md

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