Commit Graph

152 Commits

Author SHA1 Message Date
d31e081e45 Changed log messages for blr_read_binlog, added slave send error feaure
Changed log messages for blr_read_binlog, added slave send error feaure.

When blr_read_binlog detects an error an error message with 1236 code
is sent to the slave and it will stop the replication to binlogrouter
2015-10-01 17:03:48 +02:00
e043d204b4 blr_send_custom_error with errno and state
blr_send_custom_error with errno and state
2015-09-30 15:59:48 +02:00
680589ed46 Slave heartbeat period is reported in diagnostics
Slave heartbeat period is reported in diagnostics only if router option
is set
2015-09-30 15:21:18 +02:00
f9ee9ca028 Addition of send_slave_heartbeat option
Addition of send_slave_heartbeat option
2015-09-30 14:39:26 +02:00
1fa5cfbeb7 Typo fixed
Typo fixed
2015-09-28 12:17:06 +02:00
d9a776d81a Added @@global.server_id and @@global.server_uuid
Added @@global.server_id and @@global.server_uuid
2015-09-28 12:12:26 +02:00
b6df52a68e Addition of slave heartbeat check
Addition of slave heartbeat check
2015-09-25 15:58:36 +02:00
72f08de889 Removed duplicated code
Removed duplicated code
2015-09-22 16:50:11 +02:00
f97df72a3e Fix for compile error
Fix for compile error
2015-09-21 08:52:39 +02:00
2ce6012506 Various fixes
Various fixes for initialisation and packet size allocation
2015-09-21 08:44:33 +02:00
840afc0815 Develop merge
Develop merge
2015-09-18 11:15:48 +02:00
2a2582067a Added fix blr_slave_register reply
Added fix blr_slave_register reply
2015-09-18 11:06:03 +02:00
67069d1685 Fixed Typo
Fixed Typo
2015-09-18 11:01:54 +02:00
74d69eb64d Added missing slave state BLRS_REGISTERED
Added missing slave state BLRS_REGISTERED
2015-09-18 10:50:12 +02:00
c26dfbc779 Added blr_slave_send_ok in blr_slave_register
Added blr_slave_send_ok in blr_slave_register
2015-09-18 09:37:07 +02:00
cbfc6ea6b0 Fix OK packet for blr_slave_register() reply
Fix OK packet for blr_slave_register() reply
2015-09-18 09:23:02 +02:00
633131fffd Fix for information_schema.STATUS in Uptime
Fix for information_schema.STATUS in Uptime
2015-09-16 18:15:12 +02:00
374056cecc Valgrind fixes
Valgrind fixes
2015-09-15 16:18:10 +02:00
4732cc639c Error handling for invalid SHOW [GLOBAL] STATUS command
Error handling for invalid SHOW [GLOBAL] STATUS command
2015-09-15 15:57:31 +02:00
6b05176684 Fixed errors reported by valgrind
Fixed errors reported by valgrind
2015-09-15 15:49:41 +02:00
abf5b6d02a Addition of status variable output formatting
Addition of status variable output formatting and router options check
and check for mandatory server_id parameter
Logging of binlog router identy seen by master and slaves
2015-09-15 15:13:05 +02:00
6817db3ae1 Added checks for empty values
Added checks for empty values
2015-09-15 09:48:04 +02:00
3f4acf4bc5 Added support for SHOW [GLOBAL] STATUS LIKE 'Uptime'
Added support for SHOW [GLOBAL] STATUS LIKE 'Uptime'
2015-09-15 09:17:52 +02:00
8b278b0831 Transaction Summary in maxbinlogcheck
Transaction Summary in maxbinlogcheck
2015-09-07 16:38:43 +02:00
197f656104 Added warnings to administrative commands
Added warnings to administrative commands
2015-09-07 11:09:55 +02:00
d69d0e2718 Small inprovements
Small inprovements
2015-09-04 22:44:38 +02:00
f25b6389fc Support for SHOW WARNINGS
Support for SHOW WARNINGS
2015-09-04 22:30:02 +02:00
2d0048ca06 Added support for SHOW GLOBAL VARIABLES
Added support for SHOW GLOBAL VARIABLES

An unknown variable results now has an empty result set instead of an
error
2015-09-03 18:03:10 +02:00
197cd9f263 Fix for missing '\'' char detection
Fix for missing ' char detection
2015-08-28 16:32:33 +02:00
46e9e41433 Added new routines for testbinlog
Added new routines for testbinlog
2015-08-26 11:04:24 +02:00
3fe0c074c5 Added strerror_r and new constants
Added strerror_r and new constants
2015-08-24 15:02:22 +02:00
599e2fdc6c Small improvements for string buffers
Small improvements an constants added in string buffers
2015-08-24 11:38:24 +02:00
e103aa46a8 Addition of BLR_TYPE_STRING and BLR_TYPE_INT
Addition of BLR_TYPE_STRING and BLR_TYPE_INT for SQL variable names
replies
2015-08-24 10:11:26 +02:00
1b3ce9e16b Small improvements to new added options
Small improvements to new adde options
2015-08-21 18:06:53 +02:00
4242d28e13 Added support for new options
Added support for new options:

master_uuid,  master_hostname, master_version

If set, those values will be sent to slaves instead of
saved master responses
2015-08-21 16:31:40 +02:00
57c2d196d4 Added validation and parsing for CHANGE MASTER TO
Added validation and parsing for CHANGE MASTER TO
2015-08-20 09:59:57 +02:00
895989446d MXS-224: Added SQL commands to the log message at slave disconnect time
MXS-224: Added SQL commands to the log message at slave disconnect time
2015-08-19 12:04:15 +02:00
de902f316a MXS-224: Added SQL commands to the log message at slave disconnect time
MXS-224: Added SQL commands to the log message at slave disconnect time
2015-08-19 11:58:42 +02:00
1f1671a0e2 Version upate
Version upate
2015-08-12 11:18:04 +02:00
6a02608382 Removed useless vars and code cleanup
Removed useless vars and code cleanup
2015-08-11 18:09:49 +02:00
8a890f8597 Fixes and improvements
Fixes and improvements
2015-08-11 17:27:38 +02:00
b1a2481de8 Fix for first file creation via change master to
Fix for first file creation via change master to
2015-08-10 17:55:51 +02:00
3ebdeed7f9 Added user@host message for unexpected query
Added user@host message for unexpected query
2015-08-10 16:56:21 +02:00
9bada09d2d Update messages on errors
Update messages on errors
2015-08-09 23:14:55 +02:00
479e4e3203 Added blr_check_binlog at router startup if trx_safe is set
Added blr_check_binlog at router startup if trx_safe is set
2015-08-07 11:59:15 +02:00
e5a2e5cd1f Improvements added in stop/start slave and change master
Improvements added in stop/start slave and change master
2015-08-06 17:47:37 +02:00
f91a339674 Initial implementation of transaction safety
Initial implementation of transaction safety
2015-08-05 14:29:17 +02:00
28da5f2470 Fixed compile errors
Fixed compile errors
2015-08-04 14:19:53 +02:00
61c47375d5 Merge branch 'develop' into 1.2.1-binlog_router
Conflicts:
	server/core/server.c
	server/include/server.h
	server/modules/include/blr.h
	server/modules/routing/binlog/blr.c
	server/modules/routing/binlog/blr_file.c
	server/modules/routing/binlog/blr_master.c
	server/modules/routing/binlog/blr_slave.c
2015-08-04 07:59:44 -04:00
bf4630bb2c Removed extra statements
Removed extra statements
2015-07-28 13:27:36 +02:00