Added: validating binlog file message
Added: validating binlog file message
This commit is contained in:
@ -694,6 +694,10 @@ char task_name[BLRM_TASK_NAME_LEN+1] = "";
|
|||||||
*/
|
*/
|
||||||
if (inst->master_state == BLRM_UNCONNECTED) {
|
if (inst->master_state == BLRM_UNCONNECTED) {
|
||||||
/* Check current binlog */
|
/* 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)) {
|
if (inst->trx_safe && !blr_check_binlog(inst)) {
|
||||||
/* Don't start replication, just return */
|
/* Don't start replication, just return */
|
||||||
return (ROUTER *)inst;
|
return (ROUTER *)inst;
|
||||||
|
|||||||
Reference in New Issue
Block a user