From b09f9873414421aa07dfd156435f23ce09c03d59 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Fri, 16 Jan 2015 16:59:36 +0900 Subject: [PATCH] Add note --- repmgrd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/repmgrd.c b/repmgrd.c index 05d7d9cc..daa6f48d 100644 --- a/repmgrd.c +++ b/repmgrd.c @@ -714,8 +714,12 @@ standby_monitor(void) * When we returns from this function we will have a new primary * and a new primary_conn */ + + // ZZZ if upstream is not cluster primary (i.e. cascading standby), + // we need to handle failover differently + do_failover(); - log_debug("standby_monitor() - returning from do_failover()\n"); + log_debug("standby_monitor() - returning from do_failover()\n"); // ZZZ return; } }