Add dummy BDR monitoring handler

This commit is contained in:
Ian Barwick
2017-06-26 09:15:39 +09:00
parent 4e06355b57
commit 60edb00bb4

View File

@@ -85,6 +85,8 @@ static void check_and_create_pid_file(const char *pid_file);
static void start_monitoring(void);
static void monitor_streaming_primary(void);
static void monitor_streaming_standby(void);
static void monitor_bdr(void);
#ifndef WIN32
static void setup_event_handlers(void);
@@ -462,6 +464,9 @@ start_monitoring(void)
case WITNESS:
/* not handled */
return;
case BDR:
monitor_bdr();
return;
case UNKNOWN:
/* should never happen */
break;