In case of error router->binlog_position is used with truncate and error message instead of router->last_written