MXS-1545: handling of slave file EOF refactoring
MXS-1545: handling of slave file EOF refactoring. Some slave/router state are now checked before any WARN/ERROR messages about slave file EOF. The missing “next_file” is always logged with warn.
This commit is contained in:
@ -1299,11 +1299,11 @@ blr_handle_binlog_record(ROUTER_INSTANCE *router, GWBUF *pkt)
|
||||
}
|
||||
|
||||
/**
|
||||
* Check Event Type limit:
|
||||
* If supported, gather statistics about
|
||||
* the replication event types
|
||||
* else stop replication from master
|
||||
*/
|
||||
* Check Event Type limit:
|
||||
* If supported, gather statistics about
|
||||
* the replication event types
|
||||
* else stop replication from master
|
||||
*/
|
||||
int event_limit = router->mariadb10_compat ?
|
||||
MAX_EVENT_TYPE_MARIADB10 : MAX_EVENT_TYPE;
|
||||
|
||||
@ -3619,4 +3619,4 @@ void blr_set_checksum(ROUTER_INSTANCE *inst, GWBUF *buf)
|
||||
MXS_FREE(val);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user