Skip to content
代码片段 群组 项目
未验证 提交 6a70250a 编辑于 作者: Amy Qualls's avatar Amy Qualls 提交者: GitLab
浏览文件

Merge branch 'docs-mmora-master-patch-93528' into 'master'

Removing docs section

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167490



Merged-by: default avatarAmy Qualls <aqualls@gitlab.com>
Co-authored-by: default avatarMario Mora <mmora@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -334,15 +334,3 @@ Geo::ProjectRegistry.where(last_repository_check_failed: true).count ...@@ -334,15 +334,3 @@ Geo::ProjectRegistry.where(last_repository_check_failed: true).count
```ruby ```ruby
Geo::ProjectRegistry.where(last_repository_check_failed: true) 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
```
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册