A master that is down with no running slaves can be replaced
This should be a more general way to detect situations where a DBA or another MaxScale performs a failover.
This commit is contained in:
@ -81,7 +81,7 @@ struct NodeData
|
||||
static const int CYCLE_NONE = 0;
|
||||
static const int CYCLE_FIRST = 1;
|
||||
// Default value for reach
|
||||
static const int REACH_UNKNOWN = 0;
|
||||
static const int REACH_UNKNOWN = -1;
|
||||
|
||||
// Bookkeeping for graph searches. May be overwritten by multiple algorithms.
|
||||
int index; /* Marks the order in which this node was visited. */
|
||||
|
||||
Reference in New Issue
Block a user