Slaves that are behind the master no longer cause an error to be logged
When a slave transitions from catchup mode to up-to-date mode, an error message is logged because the slave is at an unexpected position. This error message should not be logged because it is a possible and an expected situation.
This commit is contained in:
@ -1953,14 +1953,6 @@ blr_distribute_binlog_record(ROUTER_INSTANCE *router, REP_HEADER *hdr, uint8_t *
|
||||
slave->binlogfile, slave->binlog_pos,
|
||||
hdr->next_pos - hdr->event_size);
|
||||
}
|
||||
else
|
||||
{
|
||||
MXS_ERROR("Slave %s:%d server ID %d is at position %u when "
|
||||
"it should be at %u. Binlog file is '%s'.", slave->dcb->remote,
|
||||
ntohs((slave->dcb->ipv4).sin_port), slave->serverid,
|
||||
slave->binlog_pos, hdr->next_pos - hdr->event_size,
|
||||
slave->binlogfile);
|
||||
}
|
||||
}
|
||||
else if (rotate)
|
||||
{
|
||||
|
Reference in New Issue
Block a user