From 0e44aa8bd864b2d00dc65398f5e4652867cd7e19 Mon Sep 17 00:00:00 2001 From: Mario Mora <mmora@gitlab.com> Date: Fri, 27 Sep 2024 20:06:13 +0000 Subject: [PATCH] Removing docs section --- .../replication/troubleshooting/synchronization.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/doc/administration/geo/replication/troubleshooting/synchronization.md b/doc/administration/geo/replication/troubleshooting/synchronization.md index 85737da9112c4..67fb70273cb11 100644 --- a/doc/administration/geo/replication/troubleshooting/synchronization.md +++ b/doc/administration/geo/replication/troubleshooting/synchronization.md @@ -334,15 +334,3 @@ Geo::ProjectRegistry.where(last_repository_check_failed: true).count ```ruby Geo::ProjectRegistry.where(last_repository_check_failed: true) ``` - -### Recheck repositories that failed the repository check - -When you run this, `fsck` is executed against each failed repository. - -The [`fsck` Rake command](../../../raketasks/check.md#check-project-code-repositories) can be used on the secondary site to understand why the repository check might be failing. - -```ruby -Geo::ProjectRegistry.where(last_repository_check_failed: true).each do |pr| - RepositoryCheck::SingleRepositoryWorker.new.perform(pr.project_id) -end -``` -- GitLab