1342 Commits

Author SHA1 Message Date
Mark Riddoch
c611d63e94 Added protection for buffer overrun in COM_BINLOG_DUMP. 2015-02-05 09:37:56 +00:00
Mark Riddoch
b9f36d6489 Addition of checksum handling in COM_BINLOG_DUMP 2015-02-05 09:15:45 +00:00
Markus Makela
8a7b22d3df Fix to SHOW TABLES FROM <db> being routed to the current database instead of the one in the query. 2015-02-05 10:34:04 +02:00
MassimilianoPinto
625a7d7a10 Assertion removed
Assertion removed
2015-02-04 18:31:38 +01:00
MassimilianoPinto
0cf1a35511 Removed useless assertion
Removed useless assertion
2015-02-04 17:19:07 +01: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
MassimilianoPinto
4ef3677b84 Fix for Bug #519
Fix for Bug #519
2015-02-04 16:17:36 +01:00
Markus Makela
d69fbf3e2a Merge branch 'develop' into MAX-324 2015-02-04 17:05:14 +02:00
Markus Makela
9c3cecf5b1 Fixed repeated reconnects to the server when multiple monitors were used simultaneously and some had failing backend servers.
Also added more documentation about dshard router's limitations.
2015-02-04 17:04:07 +02: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
8ddb2fa732 Update to support servers that do not support GTID 2015-02-04 13:10:46 +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
add315d795 Updated to reflect the shange to the way servers are stored within services 2015-02-04 11:17:29 +00:00
Markus Makela
86bed0541c Merge branch 'develop' into MAX-324 2015-02-04 13:01:43 +02: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
23d920c1a9 Addition of support for show slave status 2015-02-04 10:05:35 +00:00
Mark Riddoch
0083e62c41 Merge branch 'blr' into develop 2015-02-03 17:19:06 +00:00
Mark Riddoch
e9af90e4b6 Add support for:
select @@maxscale_version;
	show variables like "maxscale%"
	show master status
	show slave hosts
2015-02-03 17:14:37 +00:00
Markus Makela
0b5bedd2b8 The database name the client is connecting with is now checked that it exists in the hashtable before setting the session into a valid state. 2015-02-03 18:17:37 +02:00
Mark Riddoch
048467b447 Fixed issue with simple parser for queries from slaves. 2015-02-03 14:35:22 +00:00
Markus Makela
7b8579163a Added dbshard technical documentation. 2015-02-03 11:26:53 +02:00
Markus Makela
9681b9cec4 Added error handling and re-mapping of databases to dbshard router in addition to hint detection. 2015-02-02 21:37:04 +02:00
Markus Makela
c9c55ecfa3 Cleaned up unused code. 2015-02-01 21:53:05 +02:00
Markus Makela
b6cd0916a0 Fixed a deadlock when the same thread tried to route a reply and a query at the same time. 2015-02-01 21:39:35 +02:00
Markus Makela
d9ab0261b9 Fixed SHOW TABLES FROM ... queries being routed to the active database instead of the one defined in the query. 2015-01-31 12:38:39 +02:00
Markus Makela
a69e1d5f01 Added some error handling to shardrouter.
The shardrouter now handles situations where the subservice sessions have failed and returns an error if an attempt to
query such a service is made.
2015-01-30 22:28:01 +02:00
Markus Makela
1348947faa Merge branch 'develop' into MAX-324 2015-01-30 20:58:57 +02:00
Markus Makela
fe32ab63f1 Removed documentation files from the wrong folders. 2015-01-30 20:57:48 +02:00
Markus Makela
ab6418c939 Fixes to RabbitMQ filter and consumer. 2015-01-30 18:03:20 +02:00
Mark Riddoch
15b2cb64ce Add a default value of uuid 2015-01-30 15:20:59 +00:00
Mark Riddoch
5ac736a14e Fix for CRC in fake rotate events 2015-01-30 14:55:14 +00:00
Markus Makela
ea88cea959 Merge branch 'develop' into MAX-324 2015-01-29 20:36:26 +02:00
Mark Riddoch
a786d76852 Fixed typo 2015-01-29 16:04:06 +00:00
Mark Riddoch
00d9787d20 Fixed typo in error log message 2015-01-29 16:01:19 +00:00
Markus Makela
42d2f99006 Added fwfilter documentation. 2015-01-28 21:40:14 +02:00
VilhoRaatikka
a016fdd0b7 Complementary fix to #507, http://bugs.skysql.com/show_bug.cgi?id=507.
Missing braces in get_route_target made the previous fix ineffective.
2015-01-28 12:20:30 +02:00
Mark Riddoch
0a9509168b Addition of cache for server responses. This allows cached responses to be sent
if there is no master avaiable when MaxScale starts
2015-01-28 08:44:13 +00:00
VilhoRaatikka
21bb341c7d Fix to bug #507, http://bugs.mariadb.com/show_bug.cgi?id=507
readwritesplit.c:get_route_target routed query to slave although query type was combined QUERY_TYPE_READ | QUERY_TYPE_MASTER_READ, where the latter is supposed to be routed to master.
2015-01-27 15:21:31 +02:00
VilhoRaatikka
270c0ebf8a Clean up, added comments, removed some dead code. 2015-01-27 10:24:37 +02:00
Markus Makela
566831c9c5 Fix to bug 705: http://bugs.mariadb.com/show_bug.cgi?id=705
changed " to ' in queries so that ANSI_QUOTES works with sql_modes that use it.
2015-01-26 20:17:20 +02:00
Mark Riddoch
b758dc1a4a Clear residual buffered data when reconnecting to the master in all cases 2015-01-26 11:23:46 +00:00
MassimilianoPinto
92ebfb2eb9 Timeouts handling in NDB Monitor
Timeouts handling in NDB Monitor
2015-01-26 11:50:24 +01:00
MassimilianoPinto
ba5cab0af6 NDB Monitor update
NDB Monitor update
2015-01-26 11:35:21 +01:00
Markus Makela
08dd4d7053 First working implementation of the hierarchical router. 2015-01-25 21:24:22 +02:00
Markus Makela
705328012c Merge branch 'develop' into MAX-324 2015-01-23 06:45:51 +02:00
Markus Makela
8791cc455e Added the initial implementation of the shardrouter module. 2015-01-23 06:40:30 +02:00
Mark Riddoch
9e642c32cb Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-01-22 15:09:01 +01:00
Mark Riddoch
41bc0ddd24 Addition of example filter to set routing hint to route to a named server
based on a regular expression match within the query text.
2015-01-22 15:08:06 +01:00
Markus Makela
81aa2b7c00 Removed redundant include from tee.c. 2015-01-20 12:52:39 +02:00