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);
use_gtid=true;
}
}
else{
}else{
boolrun_update=false;
MySrvC*mysrvc=(MySrvC*)ptr;
// carefully increase the 2nd index by 1 for every new column added
proxy_debug(PROXY_DEBUG_CLUSTER,5,"Checksum for mysql_servers_incoming from peer %s:%d matches with local checksum %s, we won't sync.\n",hostname,port,GloVars.checksums_values.mysql_servers_incoming.checksum);
proxy_info("Cluster: checksum for mysql_servers_incoming from peer %s:%d matches with local checksum %s, we won't sync.\n",hostname,port,GloVars.checksums_values.mysql_servers_incoming.checksum);
proxy_debug(PROXY_DEBUG_CLUSTER,5,"Checksum for mysql_servers_incoming from peer %s:%d, version %llu, epoch %llu, checksum %s is different from local checksum %s. Incremented diff_check %d ...\n",hostname,port,checksums_values.mysql_servers_incoming.version,checksums_values.mysql_servers_incoming.epoch,
proxy_error("Cluster: detected a peer %s:%d with mysql_servers_incoming 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_debug(PROXY_DEBUG_CLUSTER,5,"Detected 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_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_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_debug(PROXY_DEBUG_CLUSTER,5,"Detected 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_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));