Unsafe position is no longer an error
The unsafe slave position is no longer an error and will be treated the same way if no events are available i.e. the slaves are no longer disconnected. The log messages now have more information such as the current committed transaction event being processed and the number of events sent by the current thread.
This commit is contained in:
@ -464,8 +464,7 @@ struct stat statb;
|
||||
{
|
||||
if (pos > router->binlog_position && !router->rotating)
|
||||
{
|
||||
/* Unsafe position, slave will be disconnected by the calling routine */
|
||||
snprintf(errmsg, BINLOG_ERROR_MSG_LEN, "Requested binlog position %lu. Position is unsafe so disconnecting. "
|
||||
snprintf(errmsg, BINLOG_ERROR_MSG_LEN, "Requested binlog position %lu is unsafe. "
|
||||
"Latest safe position %lu, end of binlog file %lu",
|
||||
pos, router->binlog_position, router->current_pos);
|
||||
|
||||
|
Reference in New Issue
Block a user