Log only one warning when failover is initiated
Mysqlmon would log a warning at every monitoring interval when failover was initiated.
This commit is contained in:
@ -77,6 +77,7 @@ typedef struct
|
||||
bool failover; /**< If simple failover is enabled */
|
||||
int failcount; /**< How many monitoring cycles servers must be
|
||||
down before failover is initiated */
|
||||
bool warn_failover; /**< Log a warning when failover happens */
|
||||
} MYSQL_MONITOR;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user