Skip to content

Add status about replication slots to Geo Primary status screen

What does this MR do?

Note: this MR is being implemented by @kushalpandya in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3902

Building off of MR https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3621, add the replication status to the Geo Nodes status screen.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

The following stats were added to the GeoNodeStatus model for the primary node:

replication_slots_count
replication_slots_used_count
replication_slots_max_retained_wal_bytes

These should be added to the Geo Node Status screen in the Primary section, under an Advanced accordion like the Secondary node.

replication_slots_count and replication_slots_used_count should be presented as a progress bar, while the replication_slots_max_retained_wal_bytes can be a field formatted as MB.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #4179 (closed)

Edited by Brett Walker

Merge request reports