Commit 3102713a authored by Alex Kalderimis's avatar Alex Kalderimis

Merge branch '320809-geo-preflight-checks-blocked-by-repository-checked-status' into 'master'

Resolve "Geo: Preflight checks blocked by repository checked status"

See merge request gitlab-org/gitlab!60323
parents 05c87a33 8cbfd2fa
---
title: Stop checking repository check status on Geo secondary
merge_request: 60323
author:
type: fixed
......@@ -56,7 +56,6 @@ module Gitlab
print_container_repositories_status
print_design_repositories_status
print_replicators_status
print_repositories_checked_status
print_replicators_verification_status
end
......@@ -112,7 +111,8 @@ module Gitlab
def conditional_replication_and_verification_checks_status
[].tap do |status|
if Gitlab::CurrentSettings.repository_checks_enabled && current_node_status.repositories_count.to_i > 0
if Gitlab::CurrentSettings.repository_checks_enabled && current_node_status.repositories_count.to_i > 0 && \
!Gitlab::Geo.secondary?
status.push current_node_status.repositories_checked_in_percentage
end
......
......@@ -31,8 +31,7 @@ RSpec.describe Gitlab::Geo::GeoNodeStatusCheck do
/Attachments: /,
/CI job artifacts: /,
/Container repositories: /,
/Design repositories: /,
/Repositories Checked: /
/Design repositories: /
]
checks.each do |text|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment