mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Add dummy BDR monitoring handler
This commit is contained in:
@@ -85,6 +85,8 @@ static void check_and_create_pid_file(const char *pid_file);
|
|||||||
static void start_monitoring(void);
|
static void start_monitoring(void);
|
||||||
static void monitor_streaming_primary(void);
|
static void monitor_streaming_primary(void);
|
||||||
static void monitor_streaming_standby(void);
|
static void monitor_streaming_standby(void);
|
||||||
|
static void monitor_bdr(void);
|
||||||
|
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
static void setup_event_handlers(void);
|
static void setup_event_handlers(void);
|
||||||
@@ -462,6 +464,9 @@ start_monitoring(void)
|
|||||||
case WITNESS:
|
case WITNESS:
|
||||||
/* not handled */
|
/* not handled */
|
||||||
return;
|
return;
|
||||||
|
case BDR:
|
||||||
|
monitor_bdr();
|
||||||
|
return;
|
||||||
case UNKNOWN:
|
case UNKNOWN:
|
||||||
/* should never happen */
|
/* should never happen */
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user