136 Commits

Author SHA1 Message Date
MassimilianoPinto
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
MassimilianoPinto
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
MassimilianoPinto
457d3a0f68 Added heartbeat period error message
Added heartbeat period error message and its value in diagnostics
routine
2015-08-17 14:50:50 +02:00
MassimilianoPinto
53c35b05ab Added default heartbeat set via define and blr_last_event_description
Added default heartbeat set via define and blr_last_event_description()
2015-08-17 14:05:41 +02:00
MassimilianoPinto
37fd6f54e9 Added blr_check_heartbeat as task
Added blr_check_heartbeat as task
2015-08-17 12:29:59 +02:00
MassimilianoPinto
1f1671a0e2 Version upate
Version upate
2015-08-12 11:18:04 +02:00
MassimilianoPinto
d5c7a398d2 Updated message log for not existent binlogdir
Updated message log for not existent binlogdir
2015-08-10 11:19:57 +02:00
MassimilianoPinto
9bada09d2d Update messages on errors
Update messages on errors
2015-08-09 23:14:55 +02:00
MassimilianoPinto
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
MassimilianoPinto
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
MassimilianoPinto
f91a339674 Initial implementation of transaction safety
Initial implementation of transaction safety
2015-08-05 14:29:17 +02:00
MassimilianoPinto
619261cd21 Small improvements
Small improvements
2015-08-04 16:39:03 +02:00
MassimilianoPinto
1fc335e5f7 Fixed compile warnings
Fixed compile warnings
2015-08-04 15:55:34 +02:00
MassimilianoPinto
02496d7410 Fixed error message in createInstance
Fixed error message in createInstance
2015-08-04 15:47:41 +02:00
MassimilianoPinto
28da5f2470 Fixed compile errors
Fixed compile errors
2015-08-04 14:19:53 +02:00
root
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
MassimilianoPinto
a28936c5bf Update with various small fixes
Update with various small fixes
2015-07-29 14:33:52 +02:00
counterpoint
2d6780288a Fix spelling errors. 2015-07-29 12:11:09 +01:00
MassimilianoPinto
8d7def654a Merge part of MXS-289 bug
Merge part of MXS-289 bug
2015-07-28 12:47:21 +02:00
MassimilianoPinto
556e99b2a9 Fix for bug MXS-289
Added fix for bug MXS-289
2015-07-27 18:44:05 +02:00
Markus Makela
3628b6db60 Moved some of the binlogrouter sanity checks to be done before any memory allocation takes place. 2015-07-23 11:12:26 +03:00
Markus Makela
aa6294f1f2 Fixed binlogrouter not working with C99 flags. 2015-07-20 08:59:35 +03:00
Markus Makela
78eab19c62 Fixed compiler warnings. 2015-07-14 17:13:09 +03:00
MassimilianoPinto
df17527527 Fixed wrong message parameter
Fixed wrong message parameter
2015-07-13 19:28:32 +02:00
MassimilianoPinto
9480c01b96 New log messages for dbusers loading failure
New log messages for dbusers loading failure
2015-07-13 18:12:34 +02:00
MassimilianoPinto
a16d4c46d6 Changed default master port to 3306
Changed default master port to 3306
2015-07-13 12:44:03 +02:00
MassimilianoPinto
9728ec6169 Addition of new mariadb10 events to diagnostics()
Addition of new mariadb10 events to diagnostics()
2015-07-13 12:54:04 +03:00
MassimilianoPinto
5165c6b981 master.ini contains now master configuration
master.ini contains now master configuration
It can be created or modified by CHANGE MASTER TO
Added new BLRM_UNCONFIGURED state
2015-06-30 16:10:02 +02:00
MassimilianoPinto
64bb68c12c inst->master_chksum = true; is put back
inst->master_chksum = true; is put back
2015-06-17 12:23:31 +02:00
MassimilianoPinto
d94ac9c637 Added new general error message
Added new general error message
Added
Slave_IO_Running: No
Slave_SQL_Running: No

when slave is stopped
2015-06-09 16:46:41 +02:00
MassimilianoPinto
f46c47651a Compile error, missing ';'
Compile error, missing ';'
2015-06-09 10:33:23 +02:00
MassimilianoPinto
809cdb5b1e Added blr_cache_read_master_data and dcb checks
Added blr_cache_read_master_data()
Added dcb checks before calling db_close
Forced initialisation values of some parameters
2015-06-08 16:56:52 +02:00
MassimilianoPinto
945e2f8132 added checks in blr_stop_slave()
errorReply sets mysql_errno into router struct
blr_slave_send_slave_status displays mysql errno
added checks in blr_stop_slave()
2015-06-05 17:37:05 +02:00
MassimilianoPinto
f991e58b57 MariaDB 10 master requires MariaDB 10 slaves
Only MariaDB 10 slaves can register to binblog server with a MariaDB 10
Master
2015-05-11 11:43:21 +02:00
MassimilianoPinto
230f88737c Added reading saved mariadb10 data
Added reading saved mariadb10 data
2015-05-07 18:05:04 +02:00
MassimilianoPinto
5d1e09ca4f Added MariaDB 10 Compatibility without GTID
Added MariaDB 10 Compatibility without GTID
2015-05-07 17:14:39 +02:00
Markus Makela
bc7cc2a466 Added variables for MariaDB 10 compatibility. 2015-05-07 12:56:58 +03:00
Markus Makela
46c4fefb00 Fixes to coverity defects 87601 87557 87548 87547 87546 87545 87544 87536 87535 87529 87528 2015-02-22 22:29:30 +02:00
MassimilianoPinto
517524a8b4 Addition of DISCONNECT ALL and DISCONNECT SERVER
Addition of DISCONNECT ALL and DISCONNECT SERVER server_id
Added dbc_close in closeSession
Changed slave mode output display in diagnostics
2015-02-17 18:29:03 +01:00
MassimilianoPinto
865cd82fee Addition of slave port and username in diagnostics
Addition of slave port and username in diagnostics
2015-02-17 11:32:41 +01:00
Mark Riddoch
faca6b6d76 Merge branch 'blr' into develop 2015-02-09 20:58:55 +00:00
Mark Riddoch
390df414df Addition of doxygen comments 2015-02-09 20:56:50 +00:00
Mark Riddoch
b58e09cdb7 Addition of some extra log messages and seconds behind master calcuation 2015-02-09 20:50:23 +00:00
Mark Riddoch
07536611d3 Add ability to extract values from the result set
Extract and action the @master_binlog_checksum value

Store master's uuid for use in show slave status

Support for MariaDB 5.5 masters
2015-02-04 15:59:28 +00:00
Mark Riddoch
6bd8d1b507 Updated options procesign to allow either password= or passwd= for
compatibility with the way we set passwords in other places
2015-02-04 13:12:19 +00:00
Mark Riddoch
85c752d15c Updated error handlign in lien with new requirements of the core 2015-02-04 12:15:34 +00:00
Mark Riddoch
ea7260b27b Merge branch 'blr' into develop 2015-02-04 10:28:12 +00:00
Mark Riddoch
85a38c9600 Add fix for crash if no router options are supplied 2015-02-04 10:26:55 +00:00
Mark Riddoch
0083e62c41 Merge branch 'blr' into develop 2015-02-03 17:19:06 +00:00
Mark Riddoch
15b2cb64ce Add a default value of uuid 2015-01-30 15:20:59 +00:00