Added: validating binlog file message

Added: validating binlog file message
This commit is contained in:
MassimilianoPinto
2015-09-16 19:04:48 +02:00
parent 633131fffd
commit 9829a8c2c2

View File

@ -694,6 +694,10 @@ char task_name[BLRM_TASK_NAME_LEN+1] = "";
*/
if (inst->master_state == BLRM_UNCONNECTED) {
/* Check current binlog */
LOGIF(LM, (skygw_log_write_flush(
LOGFILE_MESSAGE, "Validating binlog file '%s' ...",
inst->binlog_name)));
if (inst->trx_safe && !blr_check_binlog(inst)) {
/* Don't start replication, just return */
return (ROUTER *)inst;