Cleanup slave connection removal during promotion/demotion
The removing and slave status updating is now separated to a function. As the MariaDBServer object now contains the updated slave connections, keeping track of removed connections is no longer required.
This commit is contained in:
@ -170,8 +170,6 @@ public:
|
||||
SLAVE_IO_NO,
|
||||
};
|
||||
|
||||
bool exists = true; /* Has this connection been removed from the
|
||||
* server but the monitor hasn't updated yet? */
|
||||
bool seen_connected = false; /* Has this slave connection been seen connected,
|
||||
* meaning that the master server id is correct?
|
||||
**/
|
||||
|
Reference in New Issue
Block a user