Skip to content

Add rake task to check replication status

Aakriti Gupta requested to merge ag-check-replication-status into master

What does this MR do?

Issue #217465 (closed)

This MR adds a rake task to check the replication status of repos, etc.

It depends on a refactoring MR !33871 (merged)

Screenshots/current ouput

➜  gitlab git:(ag-check-replication-status) ✗ be rake geo:check_replication_verification_status

                          Repositories: 0/8 (0%)
                 Verified Repositories: 0/8 (0%)
                                 Wikis: 0/8 (0%)
                        Verified Wikis: 0/8 (0%)
                           LFS Objects: 0/0 (0%)
                           Attachments: 0/0 (0%)
                      CI job artifacts: 0/0 (0%)
                   Design repositories: 0/0 (0%)
                  Repositories Checked: 0/8 (0%)
ERROR - Replication is not up-to-date.
Please see documentation to complete replication: https://docs.gitlab.com/ee/administration/geo/disaster_recovery/planned_failover.html#ensure-geo-replication-is-up-to-date
➜  gitlab git:(ag-check-replication-status) ✗

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Aakriti Gupta

Merge request reports