@ -5057,6 +5116,7 @@ void MySQL_HostGroups_Manager::update_galera_set_offline(char *_hostname, int _p
wrunlock();
}else{
proxy_warning("Galera: skipping setting offline node %s:%d from hostgroup %d because won't change the list of ONLINE nodes\n",_hostname,_port,_writer_hostgroup);
print_galera_nodes_last_status();
}
}
}
@ -5089,6 +5149,7 @@ void MySQL_HostGroups_Manager::update_galera_set_read_only(char *_hostname, int
if(resultset&&info){// we lock only if needed
if(resultset->rows_count){
proxy_warning("Galera: setting host %s:%d (part of cluster with writer_hostgroup=%d) in read_only because: %s\n",_hostname,_port,_writer_hostgroup,_error);
print_galera_nodes_last_status();
GloAdmin->mysql_servers_wrlock();
mydb->execute("DELETE FROM mysql_servers_incoming");
mydb->execute("INSERT INTO mysql_servers_incoming SELECT hostgroup_id, hostname, port, gtid_port, weight, status, compression, max_connections, max_replication_lag, use_ssl, max_latency_ms, comment FROM mysql_servers");
@ -5325,6 +5386,7 @@ void MySQL_HostGroups_Manager::update_galera_set_writer(char *_hostname, int _po
}
if(checksum_incoming!=checksum_current){
proxy_warning("Galera: setting host %s:%d as writer\n",_hostname,_port);