mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +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 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;
|
||||
|
||||
Reference in New Issue
Block a user