proxy_debug(PROXY_DEBUG_MYSQL_CONNPOOL,7,"Dropping all connections (%lu total) on MySrvConnList %p for server %s:%d , hostgroup=%d , status=%d\n",conns_length(),this,mysrvc->address,mysrvc->port,mysrvc->myhgc->hid,mysrvc->status);
proxy_debug(PROXY_DEBUG_MYSQL_CONNPOOL,7,"Dropping all connections (%u total) on MySrvConnList %p for server %s:%d , hostgroup=%d , status=%d\n",conns_length(),this,mysrvc->address,mysrvc->port,mysrvc->myhgc->hid,mysrvc->status);
// this server has gtid_port configured, we set use_gtid
proxy_debug(PROXY_DEBUG_MYSQL_CONNPOOL,6,"Server %u:%s:%d has gtid_port enabled, setting use_gitd=true if not already set\n",mysrvc->myhgc->hid,mysrvc->address);
proxy_debug(PROXY_DEBUG_MYSQL_CONNPOOL,6,"Server %u:%s:%d has gtid_port enabled, setting use_gitd=true if not already set\n",mysrvc->myhgc->hid,mysrvc->address, mysrvc->port);
// this server has gtid_port configured, we set use_gtid
proxy_debug(PROXY_DEBUG_MYSQL_CONNPOOL,6,"Server %u:%s:%d has gtid_port enabled, setting use_gitd=true if not already set\n",mysrvc->myhgc->hid,mysrvc->address);
proxy_debug(PROXY_DEBUG_MYSQL_CONNPOOL,6,"Server %u:%s:%d has gtid_port enabled, setting use_gitd=true if not already set\n",mysrvc->myhgc->hid,mysrvc->address, mysrvc->port);
(mysrvc->shunned_and_kill_all_connections==true&&mysrvc->ConnectionsUsed->conns_length()==0&&mysrvc->ConnectionsFree->conns_length()==0)// if shunned_and_kill_all_connections is set, ensure all connections are already dropped
proxy_error("Failed to connect to server %s:%d to run KILL %s %llu: Error: %s\n",ka->hostname,ka->port,(ka->kill_type==KILL_QUERY?"QUERY":"CONNECTION"),ka->id,mysql_error(mysql));
proxy_error("Failed to connect to server %s:%d to run KILL %s %lu: Error: %s\n",ka->hostname,ka->port,(ka->kill_type==KILL_QUERY?"QUERY":"CONNECTION"),ka->id,mysql_error(mysql));
proxy_error("Client trying to set a charset/collation (%u) not supported by backend (%s:%d). Changing it to %u\n",charset,myconn->parent->address,myconn->parent->port,mysql_tracked_variables[SQL_CHARACTER_SET].default_value);
proxy_error(
"Client trying to set a charset/collation (%u) not supported by backend (%s:%d). Changing it to %s\n",
proxy_error("Cluster: detected a peer %s:%d with mysql_query_rules version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %llu checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_mqr*10));
proxy_error("Cluster: detected a peer %s:%d with mysql_query_rules version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %u checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_mqr*10));
proxy_warning("Cluster: detected a peer %s:%d with mysql_query_rules version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %llu checks until LOAD MYSQL QUERY RULES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_mqr*10));
proxy_warning("Cluster: detected a peer %s:%d with mysql_query_rules version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %u checks until LOAD MYSQL QUERY RULES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_mqr*10));
proxy_error("Cluster: detected a peer %s:%d with mysql_servers version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %llu checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_ms*10));
proxy_error("Cluster: detected a peer %s:%d with mysql_servers version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %u checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_ms*10));
proxy_warning("Cluster: detected a peer %s:%d with mysql_servers version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %llu checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_ms*10));
proxy_warning("Cluster: detected a peer %s:%d with mysql_servers version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %u checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_ms*10));
proxy_error("Cluster: detected a peer %s:%d with mysql_users version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %llu checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_mu*10));
proxy_error("Cluster: detected a peer %s:%d with mysql_users version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %u checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_mu*10));
proxy_warning("Cluster: detected a peer %s:%d with mysql_users version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %llu checks until LOAD MYSQL USERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_mu*10));
proxy_warning("Cluster: detected a peer %s:%d with mysql_users version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %u checks until LOAD MYSQL USERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_mu*10));
proxy_error("Cluster: detected a peer %s:%d with mysql_variables version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %llu checks until LOAD MYSQL VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_mv*10));
proxy_error("Cluster: detected a peer %s:%d with mysql_variables version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %u checks until LOAD MYSQL VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_mv*10));
proxy_warning("Cluster: detected a peer %s:%d with mysql_variables version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %llu checks until LOAD MYSQL VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_mv*10));
proxy_warning("Cluster: detected a peer %s:%d with mysql_variables version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %u checks until LOAD MYSQL VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_mv*10));
proxy_error("Cluster: detected a peer %s:%d with admin_variables version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %llu checks until LOAD ADMIN VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_av*10));
proxy_error("Cluster: detected a peer %s:%d with admin_variables version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %u checks until LOAD ADMIN VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_av*10));
proxy_warning("Cluster: detected a peer %s:%d with admin_variables version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %llu checks until LOAD ADMIN VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_av*10));
proxy_warning("Cluster: detected a peer %s:%d with admin_variables version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %u checks until LOAD ADMIN VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_av*10));
proxy_error("Cluster: detected a peer %s:%d with ldap_variables version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %llu checks until LOAD LDAP VARIABLES is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_lv*10));
proxy_error("Cluster: detected a peer %s:%d with ldap_variables version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %u checks until LOAD LDAP VARIABLES is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_lv*10));
proxy_warning("Cluster: detected a peer %s:%d with ldap_variables version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %llu checks until LOAD LDAP VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_lv*10));
proxy_warning("Cluster: detected a peer %s:%d with ldap_variables version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %u checks until LOAD LDAP VARIABLES TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_lv*10));
proxy_error("Cluster: detected a peer %s:%d with proxysql_servers version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %llu checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v_version,v_epoch,v_diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_ps*10));
proxy_error("Cluster: detected a peer %s:%d with proxysql_servers version %llu, epoch %llu, diff_check %u, checksum %s. Own version: %llu, epoch: %llu, checksum %s. Sync conflict, epoch times are EQUAL, can't determine which server holds the latest config, we won't sync. This message will be repeated every %u checks until LOAD MYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v_version,v_epoch,v_diff_check,v->checksum,own_version,own_epoch,own_checksum,(diff_ps*10));
proxy_warning("Cluster: detected a peer %s:%d with proxysql_servers version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %llu checks until LOAD PROXYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_ps*10));
proxy_warning("Cluster: detected a peer %s:%d with proxysql_servers version %llu, epoch %llu, diff_check %u. Own version: %llu, epoch: %llu. diff_check is increasing, but version 1 doesn't allow sync. This message will be repeated every %u checks until LOAD PROXYSQL SERVERS TO RUNTIME is executed on candidate master.\n",hostname,port,v->version,v->epoch,v->diff_check,own_version,own_epoch,(diff_ps*10));
// Note: negative retries means this rule doesn't change
proxy_debug(PROXY_DEBUG_MYSQL_QUERY_PROCESSOR,5,"query rule %d has set retries: %d. Query will%s be re-executed %d times in case of failure\n",qr->rule_id,qr->retries);
proxy_debug(PROXY_DEBUG_MYSQL_QUERY_PROCESSOR,5,"query rule %d has set retries: %d. Query will be re-executed %d times in case of failure\n",qr->rule_id,qr->retries,qr->retries);