Skip to content

Resolve "Geo - Rename Replication Status to Database Replication status and add Database connection Type to Geo Health Page"

What does this MR do and why?

Renames Replication Status to Database Replication status and add Database connection Type to Geo Health Page. This change gives more detail about the replication status and how the secondary sites are setup.

Screenshots or screen recordings

Replication is active:

Screenshot 2024-12-02 at 1.00.46 PM.png

Replication is paused:

Screenshot 2024-12-02 at 1.01.53 PM.png

Replication is disabled:

Screenshot 2024-12-02 at 2.41.07 PM.png

How to set up and validate locally

Unfortunately there's no clean way of disabling replication without messing with the database. To simulate disabled replication you have to hardcode Gitlab::Geo::HealthCheck.replication_enabled? to return false.

To pause and resume replication you can use the rake tasks:

bundle exec rake geo:replication:pause

and

bundle exec rake geo:replication:resume

Related to #499771 (closed)

Edited by Natanael Silva

Merge request reports

Loading