From 9829a8c2c26c3ad030826bf1527e19e99cd699fc Mon Sep 17 00:00:00 2001 From: MassimilianoPinto Date: Wed, 16 Sep 2015 19:04:48 +0200 Subject: [PATCH] Added: validating binlog file message Added: validating binlog file message --- server/modules/routing/binlog/blr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/modules/routing/binlog/blr.c b/server/modules/routing/binlog/blr.c index eb2c68208..9cb33a0ce 100644 --- a/server/modules/routing/binlog/blr.c +++ b/server/modules/routing/binlog/blr.c @@ -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;