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: 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