Skip to content

Will check replication status on all secondaries as well.

John Jarvis requested to merge jarv/check-all-secondaries into master

Will now look like this:

2018-08-10 14:13:51.731: ========================================================
2018-08-10 14:13:51.731: Script: /opt/gitlab-migration/migration/bin/scripts/02_failover/060_go/p03/check-wal-secondary-sync.sh
2018-08-10 14:13:51.731: User: jarv
2018-08-10 14:13:51.731: Rev: d72d47c
2018-08-10 14:13:51.731: ========================================================
2018-08-10 14:13:51.731:
2018-08-10 14:13:52.376: Last event seen for postgres-01-db-gprd.c.gitlab-production.internal was 00:00:10.396657 ago.
2018-08-10 14:13:52.376: -----
2018-08-10 14:13:53.200: Last event seen for postgres-02-db-gprd.c.gitlab-production.internal was 00:00:11.219919 ago.
2018-08-10 14:13:54.040: Last event seen for postgres-03-db-gprd.c.gitlab-production.internal was 00:00:05.110111 ago.
2018-08-10 14:13:54.874: Last event seen for postgres-04-db-gprd.c.gitlab-production.internal was 00:00:05.945004 ago.
2018-08-10 14:13:55.709: Last event seen for postgres-05-db-gprd.c.gitlab-production.internal was 00:00:13.72918 ago.
2018-08-10 14:13:56.526: Last event seen for postgres-06-db-gprd.c.gitlab-production.internal was 00:00:07.596988 ago.
2018-08-10 14:13:56.527:
2018-08-10 14:13:56.527: --------------------------------------------------------
2018-08-10 14:13:56.527: Exit Status: 0
2018-08-10 14:13:56.527: --------------------------------------------------------

resolves #764 (closed)

Edited by John Jarvis

Merge request reports