Commit Graph

1389 Commits

Author SHA1 Message Date
dc65c9e1cc Fix to bug 729: http://bugs.mariadb.com/show_bug.cgi?id=729
Prepared statements with a SELECT statement were falsely detected as SELECT queries with session variable modification.
This caused the error message and the failure to route the query.
2015-02-17 18:29:24 +02:00
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
02e11b96b0 Changed references of dbshard into shardrouter in shardrouter.c 2015-02-17 12:14:48 +02:00
a2bff1dcea Merge branch 'develop' into MAX-324 2015-02-16 14:58:35 +02:00
d91b6d375d Added more documentation about functions and trace log output about users logging in with a default database. 2015-02-12 08:44:39 +02:00
a0a7dcdcfe Fixed shardrouter possibly missing responses from the subservices if the session wasn't ready. 2015-02-10 20:36:53 +02:00
54eb3dd904 Fixed client hangups if the first response to a SHOW DATABASES query was sent too fast. 2015-02-10 16:07:50 +02:00
36363b09a1 Added more debug logging and fixed the service resources being overwritted even though they were already allocated. 2015-02-10 14:28:49 +02:00
01eafd92c8 Fixed two errors in show slave status output. Master_UUID was
showing the variable name rather than the value and
Master_SSL_Verify_Server_cert was missing
2015-02-10 10:00:02 +00:00
d9139bb436 Added more tests for the dbshard router. 2015-02-10 10:49:54 +02:00
eafdd43592 Add Master_Server_Id value to returned show slave status command 2015-02-10 08:36:31 +00:00
faca6b6d76 Merge branch 'blr' into develop 2015-02-09 20:58:55 +00:00
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