Added master pos to log message
Added master pos to log message
This commit is contained in:

committed by
Markus Makela

parent
52ef8987cb
commit
335b1e095f
@ -1974,9 +1974,10 @@ blr_distribute_binlog_record(ROUTER_INSTANCE *router, REP_HEADER *hdr, uint8_t *
|
|||||||
{
|
{
|
||||||
/** Slave is using unexpected binlog file */
|
/** Slave is using unexpected binlog file */
|
||||||
MXS_ERROR("Slave %s:%d server ID %d is using an unexpected binlog file '%s' with "
|
MXS_ERROR("Slave %s:%d server ID %d is using an unexpected binlog file '%s' with "
|
||||||
"position %d. Master binlog file is '%s'.", slave->dcb->remote,
|
"position %d. Master binlog file is '%s' at pos %lu.", slave->dcb->remote,
|
||||||
ntohs((slave->dcb->ipv4).sin_port), slave->serverid,
|
ntohs((slave->dcb->ipv4).sin_port), slave->serverid,
|
||||||
slave->binlogfile, slave->binlog_pos, router->binlog_name);
|
slave->binlogfile, slave->binlog_pos, router->binlog_name,
|
||||||
|
(unsigned long)router->current_pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
spinlock_release(&router->binlog_lock);
|
spinlock_release(&router->binlog_lock);
|
||||||
|
Reference in New Issue
Block a user