MXS-1530: stop replication unsupported binlog events
Stop replicating from master if unsupported binlog events are seen. Also report error message for unsupported events (blr_read_events_all_events) at maxscale start-up and with maxbinlogcheck utility
This commit is contained in:
@ -1563,10 +1563,12 @@ blr_read_events_all_events(ROUTER_INSTANCE *router, int fix, int debug)
|
||||
router->current_pos = pos;
|
||||
|
||||
MXS_WARNING("an error has been found in %s. "
|
||||
"Setting safe pos to %lu, current pos %lu",
|
||||
"Setting safe pos to %lu, current pos %lu. "
|
||||
"ErrMsg [%s]",
|
||||
router->binlog_name,
|
||||
router->binlog_position,
|
||||
router->current_pos);
|
||||
router->current_pos,
|
||||
errmsg);
|
||||
|
||||
if (fix)
|
||||
{
|
||||
|
Reference in New Issue
Block a user