c37b33c60e
Merge branch '1.2.1-binlog_router_trx' into develop
2015-11-04 16:42:30 +01:00
d51ac7ab7d
Disconnect slave when pos is UNSAFE
...
Disconnect slave when pos is UNSAFE instead of sending an error that
stops the replication
2015-11-04 16:24:46 +01:00
0accf869de
Fix to MXS-365: https://mariadb.atlassian.net/browse/MXS-365 Added tracking of LOAD DATA LOCAL INFILE
...
While a LOAD DATA LOCAL INFILE query is being executed, all queries will be sent to the master
and they will not be processed as normal packets.
2015-11-04 12:47:55 +02:00
50b0a9b71b
Code changes based on review of 1e8afe5063134b7c56492b3777ae1248b1587ba4
2015-11-03 12:16:22 +02:00
d5c38b93f6
Fix to MXS-431: https://mariadb.atlassian.net/browse/MXS-431
...
Replaced the use of the shared MySQLSession structure with an internal variable
that tracks the currently active database.
2015-11-03 12:16:22 +02:00
18c53bebf1
Fix to MXS-430: https://mariadb.atlassian.net/browse/MXS-430
...
Added caching of the hashtables used to map databases to servers.
2015-11-03 12:16:22 +02:00
7c582f91ea
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-11-02 18:09:59 +02:00
c37e18e3d2
Moved included headers back to .c file
2015-10-28 15:07:50 +02:00
8d84deecc5
Updated schemarouter to use PCRE2 and moved includes to the header file.
2015-10-28 15:07:50 +02:00
3be5238bd7
Fixed indentation.
2015-10-23 15:05:51 +03:00
63f4bc3aec
Changed from router->binlog_lock to router->lock for transaction safety code and cleaned up code.
2015-10-23 14:54:08 +03:00
40ffe21dd8
Added a variable for current event being processed after a transaction is committed.
2015-10-23 12:33:51 +03:00
75e8033052
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-10-19 09:36:04 +02:00
a576606f2b
Updated schemarouter duplicate DB code based on code review.
2015-10-05 10:20:58 +03:00
af2bc91383
Cleaned up the clientReply function of the schemarouter.
2015-10-05 10:20:58 +03:00
bff6db96a1
Same database on more than one server now cause the schemarouter session to be closed.
2015-10-05 10:20:58 +03:00
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
f9ee9ca028
Addition of send_slave_heartbeat option
...
Addition of send_slave_heartbeat option
2015-09-30 14:39:26 +02:00
4aa161d78e
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-09-30 14:20:39 +02:00
96f76a1f2e
Changed the way max_sescmd_history works and combined disable_sescmd_history and disable_slave_recovery.
...
Before these changes when max_sescmd_history was used the session
was closed when the limit was exceeded. With this change, when the
limit is exceeded the recovery of slaves and the session command history
are both disabled. This will allow the sessions to continue while still
keeping the old functionality of limited salve replacement.
The disable_sescmd_history and disable_slave_recovery parameters were combined
so that disabling the session command history will also disable slave recovery.
This way no harm can be done with disable_sescmd_history.
2015-09-29 12:03:22 +03:00
b6df52a68e
Addition of slave heartbeat check
...
Addition of slave heartbeat check
2015-09-25 15:58:36 +02:00
db93d868f8
Removed previous conflict line
...
Removed previous conflict line
2015-09-10 14:58:09 +02:00
c9fd82839b
Merge from develop
...
Merge from develop
2015-09-10 14:53:50 +02:00
7d00a3670d
Addition of maxbinlogcheck, a new utility in bin
...
Addition of maxbinlogcheck, a new utility in bin
2015-09-10 14:37:49 +02:00
c7a5734e0c
Added missing include to sharding_common.h
2015-09-09 13:02:18 +03:00
67f8520c38
Added missing include to sharding_common.h
2015-09-09 13:00:10 +03:00
f25b6389fc
Support for SHOW WARNINGS
...
Support for SHOW WARNINGS
2015-09-04 22:30:02 +02:00
5153c16eac
Added BLRM_MASTER_REGITRATION_QUERY_LEN constant
...
Added BLRM_MASTER_REGITRATION_QUERY_LEN constant
2015-08-25 11:27:15 +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
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
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
e65e2b3a84
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-08-17 12:12:16 +02:00
c3e1e2b345
Merge branch 'develop' into schemarouter_refresh
...
Conflicts:
Documentation/Tutorials/Replication-Proxy-Binlog-Router-Tutorial.md
2015-08-08 11:25:54 +03: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
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
aa6294f1f2
Fixed binlogrouter not working with C99 flags.
2015-07-20 08:59:35 +03:00
78eab19c62
Fixed compiler warnings.
2015-07-14 17:13:09 +03:00
e146b2d632
Merge branch 'release-1.2' into schemarouter_refresh
2015-07-13 19:10:05 +03:00
0134fdc397
Merge branch 'release-1.2' into develop
...
Conflicts:
server/core/dbusers.c
2015-07-13 15:52:36 +03:00
9728ec6169
Addition of new mariadb10 events to diagnostics()
...
Addition of new mariadb10 events to diagnostics()
2015-07-13 12:54:04 +03:00
ba417ef633
Merge remote-tracking branch 'origin/develop' into MXS-122
...
Conflicts:
server/core/dcb.c
2015-07-08 14:54:22 +01:00
10d690273d
Resolve compiler warnings
2015-07-08 11:35:41 +01:00
993ec723b9
Added verbose client errors to schemarouter.
2015-07-02 13:28:23 +03:00