Commit Graph

1577 Commits

Author SHA1 Message Date
390df414df Addition of doxygen comments 2015-02-09 20:56:50 +00:00
b58e09cdb7 Addition of some extra log messages and seconds behind master calcuation 2015-02-09 20:50:23 +00:00
958cc73176 Add support for SELECT @@server_id 2015-02-09 16:07:01 +00:00
d455ec4c53 Added support for default databases. 2015-02-09 16:28:48 +02:00
e3c8979ee1 Fix for missing statistics increment 2015-02-09 13:19:51 +00:00
7cf65adc6e Added more trace log output about database changing and possible errors. 2015-02-07 00:04:13 +02:00
0d4761ade8 Merge branch 'develop' into MAX-324 2015-02-06 23:27:59 +02:00
9d3b961c15 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-02-06 20:47:03 +00:00
6da16c9958 Some tidy up of binlog rotuer code 2015-02-06 20:46:36 +00:00
2a06331f82 Fixed readwritesplit hashing function returning the key value instead of the hash value. 2015-02-06 22:09:28 +02:00
e91ad034a8 CRC issue 2015-02-06 17:53:41 +00:00
00c7dccdac Fix for checksum misisng in master rotate event 2015-02-06 14:30:15 +00:00
4c16eb55a2 Fixed hashing function returning wrong values and added more logging. 2015-02-06 16:27:24 +02:00
d4f5ca6bcb Merge branch 'blr' into develop
Addition of hashtable load and save. Caching of auth information
2015-02-06 11:52:51 +00:00
25e39f35c5 Fix to allow rotate of files without explicit rotate events when the master is offline 2015-02-06 11:45:20 +00:00
c611d63e94 Added protection for buffer overrun in COM_BINLOG_DUMP. 2015-02-05 09:37:56 +00:00
b9f36d6489 Addition of checksum handling in COM_BINLOG_DUMP 2015-02-05 09:15:45 +00:00
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
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
d69fbf3e2a Merge branch 'develop' into MAX-324 2015-02-04 17:05:14 +02:00
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
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
8ddb2fa732 Update to support servers that do not support GTID 2015-02-04 13:10:46 +00:00
85c752d15c Updated error handlign in lien with new requirements of the core 2015-02-04 12:15:34 +00:00
add315d795 Updated to reflect the shange to the way servers are stored within services 2015-02-04 11:17:29 +00:00
86bed0541c Merge branch 'develop' into MAX-324 2015-02-04 13:01:43 +02:00
ea7260b27b Merge branch 'blr' into develop 2015-02-04 10:28:12 +00:00
85a38c9600 Add fix for crash if no router options are supplied 2015-02-04 10:26:55 +00:00
23d920c1a9 Addition of support for show slave status 2015-02-04 10:05:35 +00:00
0083e62c41 Merge branch 'blr' into develop 2015-02-03 17:19:06 +00:00
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
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
048467b447 Fixed issue with simple parser for queries from slaves. 2015-02-03 14:35:22 +00:00
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
c9c55ecfa3 Cleaned up unused code. 2015-02-01 21:53:05 +02:00
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
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
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
15b2cb64ce Add a default value of uuid 2015-01-30 15:20:59 +00:00
5ac736a14e Fix for CRC in fake rotate events 2015-01-30 14:55:14 +00:00
ea88cea959 Merge branch 'develop' into MAX-324 2015-01-29 20:36:26 +02:00
a786d76852 Fixed typo 2015-01-29 16:04:06 +00:00
00d9787d20 Fixed typo in error log message 2015-01-29 16:01:19 +00:00
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
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
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
270c0ebf8a Clean up, added comments, removed some dead code. 2015-01-27 10:24:37 +02:00
b758dc1a4a Clear residual buffered data when reconnecting to the master in all cases 2015-01-26 11:23:46 +00:00
08dd4d7053 First working implementation of the hierarchical router. 2015-01-25 21:24:22 +02:00
8791cc455e Added the initial implementation of the shardrouter module. 2015-01-23 06:40:30 +02:00