MXS-1845 Cluster stabilization rewrite

No longer writes events to the master, as this creates problems if the
promoted server was not the overall master. Instead, the slave status
output is inspected.
This commit is contained in:
Esa Korhonen
2018-10-01 10:16:52 +03:00
parent 1ca5d02abb
commit d14b9bfe43
4 changed files with 172 additions and 36 deletions

View File

@ -280,6 +280,7 @@ private:
bool wait_cluster_stabilization(MariaDBServer* new_master,
const ServerArray& slaves,
int seconds_remaining);
void wait_cluster_stabilization_ex(ClusterOperation& op, const ServerArray& slaves);
void report_and_disable(const std::string& operation,
const std::string& setting_name,
bool* setting_var);