Remove manual revision notes and extra files
Removed the manually written revision notes that were in some files. Also removed the README and STATUS files which were present.
This commit is contained in:
@ -1,53 +0,0 @@
|
||||
The binlog router is not a "normal" MaxScale router, it is not
|
||||
designed to be used to route client requests to a database in the
|
||||
usual proxy fashion. Rather it is designed to allow MaxScale to be
|
||||
used as a relay server in a MySQL replication environment.
|
||||
|
||||
In this environment MaxScale sits between a master MySQL server and
|
||||
a set of slave servers. The slaves servers execute a change master
|
||||
to the MaxScale server, otehrwise they are configured in exactly
|
||||
the same way as a normal MySQL slave server.
|
||||
|
||||
The master server configuration is unaltered, it simply sees a
|
||||
single slave server.
|
||||
|
||||
MaxScale is configured as usual, with a service definition that
|
||||
references the binlog router. The major configuration option to
|
||||
consider is the router_options paramter, in the binlog router this
|
||||
provides the binlog specific configuration parameters.
|
||||
|
||||
uuid=
|
||||
This is the UUID that MaxScale uses when it connects
|
||||
to the real master. It will report the master's
|
||||
UUID to slaves that connect to it.
|
||||
|
||||
server-id=
|
||||
The server-id that MaxScale uses when it connects
|
||||
to the real master server. Again it will reports
|
||||
the master's server-id to the slaves that connect
|
||||
to it.
|
||||
user=
|
||||
The user that MaxScale uses to login to the real
|
||||
master
|
||||
password=
|
||||
The password that MaxScale uses to login to the
|
||||
real master
|
||||
master-id=
|
||||
The server-id of the real master. MaxScale should
|
||||
get this by sending a query, but at the moment it
|
||||
is in the configuration file for ease of implementation
|
||||
|
||||
|
||||
An example binlog service configuration is shown below:
|
||||
|
||||
[Binlog Service]
|
||||
type=service
|
||||
router=binlogrouter
|
||||
servers=master
|
||||
router_options=uuid=f12fcb7f-b97b-11e3-bc5e-0401152c4c22,server-id=3,user=repl,password=slavepass,master-id=1
|
||||
user=maxscale
|
||||
passwd=Mhu87p2D
|
||||
|
||||
The servers list for a binlog router service should contain just
|
||||
the master server. In future a list will be given and the monitor
|
||||
used to determine which server is the current master server.
|
@ -1,13 +0,0 @@
|
||||
The binlog router contained here is a prototype implementation and
|
||||
should not be consider as production ready.
|
||||
|
||||
The router has been written and tested with MySQL 5.6 as a reference
|
||||
for the replication behaviour, more investigation and implementation
|
||||
is likely to be needed in order to use other versions of MySQL,
|
||||
MariaDB or Percona Server.
|
||||
|
||||
To Do List:
|
||||
|
||||
1. The router does not implement the replication heartbeat mechanism.
|
||||
|
||||
2. Performance measurements have yet to be made.
|
@ -25,14 +25,6 @@
|
||||
*
|
||||
* This file contains functions that are common to multiple modules that all
|
||||
* handle MySQL/MariaDB binlog files.
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 7/3/16 Markus Makela Initial implementation
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -22,14 +22,6 @@
|
||||
* The current prototype implement is designed to support MySQL 5.6 and has
|
||||
* a number of limitations. This prototype is merely a proof of concept and
|
||||
* should not be considered production ready.
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 07/04/2014 Mark Riddoch Initial implementation
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#include "blr.h"
|
||||
|
@ -22,49 +22,6 @@
|
||||
* The current prototype implement is designed to support MySQL 5.6 and has
|
||||
* a number of limitations. This prototype is merely a proof of concept and
|
||||
* should not be considered production ready.
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 14/04/2014 Mark Riddoch Initial implementation
|
||||
* 18/02/2015 Massimiliano Pinto Addition of DISCONNECT ALL and DISCONNECT SERVER server_id
|
||||
* 18/03/2015 Markus Makela Better detection of CRC32 | NONE checksum
|
||||
* 19/03/2015 Massimiliano Pinto Addition of basic MariaDB 10 compatibility support
|
||||
* 07/05/2015 Massimiliano Pinto Added MariaDB 10 Compatibility
|
||||
* 11/05/2015 Massimiliano Pinto Only MariaDB 10 Slaves can register to binlog router
|
||||
* with a MariaDB 10 Master
|
||||
* 25/05/2015 Massimiliano Pinto Addition of BLRM_SLAVE_STOPPED state and blr_start/stop_slave.
|
||||
* New commands STOP SLAVE, START SLAVE added.
|
||||
* 29/05/2015 Massimiliano Pinto Addition of CHANGE MASTER TO ...
|
||||
* 05/06/2015 Massimiliano Pinto router->service->dbref->sever->name instead of master->remote
|
||||
* in blr_slave_send_slave_status()
|
||||
* 08/06/2015 Massimiliano Pinto blr_slave_send_slave_status() shows mysql_errno and error_msg
|
||||
* 15/06/2015 Massimiliano Pinto Added constraints to CHANGE MASTER TO MASTER_LOG_FILE/POS
|
||||
* 23/06/2015 Massimiliano Pinto Added utility routines for blr_handle_change_master
|
||||
* Call create/use binlog in blr_start_slave() (START SLAVE)
|
||||
* 29/06/2015 Massimiliano Pinto Successfully CHANGE MASTER results in updating master.ini
|
||||
* in blr_handle_change_master()
|
||||
* 20/08/2015 Massimiliano Pinto Added parsing and validation for CHANGE MASTER TO
|
||||
* 21/08/2015 Massimiliano Pinto Added support for new config options:
|
||||
* master_uuid, master_hostname, master_version
|
||||
* If set those values are sent to slaves instead of
|
||||
* saved master responses
|
||||
* 03/09/2015 Massimiliano Pinto Added support for SHOW [GLOBAL] VARIABLES LIKE
|
||||
* 04/09/2015 Massimiliano Pinto Added support for SHOW WARNINGS
|
||||
* 15/09/2015 Massimiliano Pinto Added support for SHOW [GLOBAL] STATUS LIKE 'Uptime'
|
||||
* 25/09/2015 Massimiliano Pinto Addition of slave heartbeat:
|
||||
* the period set during registration is checked
|
||||
* and heartbeat event might be sent to the affected slave.
|
||||
* 25/09/2015 Martin Brampton Block callback processing when no router session in the DCB
|
||||
* 23/10/2015 Markus Makela Added current_safe_event
|
||||
* 09/05/2016 Massimiliano Pinto Added SELECT USER()
|
||||
* 11/07/2016 Massimiliano Pinto Added SSL backend support
|
||||
* 24/08/2016 Massimiliano Pinto Added slave notification via CS_WAIT_DATA
|
||||
* 16/09/2016 Massimiliano Pinto Special events created by MaxScale are not sent to slaves:
|
||||
* MARIADB10_START_ENCRYPTION_EVENT or IGNORABLE_EVENT.
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#include "blr.h"
|
||||
|
@ -17,27 +17,6 @@
|
||||
* This utility checks a MySQL 5.6 and MariaDB 10.0.X binlog file and reports
|
||||
* any found error or an incomplete transaction.
|
||||
* It suggests the pos the file should be trucatetd at.
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 24/07/2015 Massimiliano Pinto Initial implementation
|
||||
* 26/08/2015 Massimiliano Pinto Added mariadb10 option
|
||||
* for MariaDB 10 binlog compatibility
|
||||
* Currently MariadDB 10 starting transactions
|
||||
* are detected checking GTID event
|
||||
* with flags = 0
|
||||
* 26/04/2016 Massimiliano Pinto MariaDB 10.1 GTID flags are properly parsed
|
||||
* 23/09/2016 Massimiliano Pinto MariaDB 10.1 encrypted binlog compatible:
|
||||
* the output shows the START_ENCRYPTION_EVENT and follows
|
||||
* binlog positions without dectypting events.
|
||||
* 25/11/2016 Massimiliano Pinto MariaDB 10.1 encrypted files can be checked
|
||||
* with Key and Algo options
|
||||
* 06/12/2016 Massimiliano Pinto A new option allows displaying of replication header
|
||||
*
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#include "blr.h"
|
||||
|
Reference in New Issue
Block a user