Fix to bug 680: http://bugs.mariadb.com/show_bug.cgi?id=680
service.h:Added the 'serviceStartFailed' function which tries to start services with successfully started routers but no successfully started listeners. mysql_mon.c:Added a call to ServiceStartFailed when servers come available.
This commit is contained in:
@ -130,6 +130,7 @@ typedef struct server {
|
||||
(SERVER_RUNNING|SERVER_MASTER|SERVER_SLAVE|SERVER_MAINT)) == \
|
||||
(SERVER_RUNNING|SERVER_MASTER))
|
||||
|
||||
#define SRV_DOWN_STATUS(status) ((status & SERVER_RUNNING) == 0)
|
||||
/**
|
||||
* Is the server valid candidate for root master. The server must be running,
|
||||
* marked as master and not have maintenance bit set.
|
||||
|
Reference in New Issue
Block a user