1104 Commits

Author SHA1 Message Date
Markus Makela
2c401788ee Fix to bug 579: http://bugs.mariadb.com/show_bug.cgi?id=579
Added actual testing routers and protocols.
2015-02-20 12:30:55 +02:00
Mark Riddoch
8eb14235d1 Addition of DCB and Poll statistics in show status output 2015-02-20 10:05:50 +00:00
Markus Makela
7fc004ec28 Merge branch 'develop' into MAX-324 2015-02-20 10:18:45 +02:00
Markus Makela
22f7137440 Fix to bug 600: http://bugs.mariadb.com/show_bug.cgi?id=600
readwritesplit now drops slave connections that fail a session command.
2015-02-20 06:38:38 +02:00
Markus Makela
ea55572ab8 Merge branch 'develop' into MAX-324 2015-02-20 04:45:48 +02:00
Mark Riddoch
df3a548be1 Added basic REST interface to maxinfo plugin 2015-02-19 16:24:30 +00:00
markus456
c2cd3f4c3d Merge pull request #73 from tanji/serversjson
Output server list in JSON format
2015-02-19 16:56:02 +02:00
Mark Riddoch
11e65f02f0 Addition of maxinfo show modules and show monitors commands 2015-02-19 13:32:48 +00:00
Guillaume Lefranc
eacd41d5da Use plural for command 2015-02-19 13:57:02 +01:00
Mark Riddoch
2f218cba3a Addition of maxinfo commands
show sessions
	show clients
	show listeners
	show services
	show servers
2015-02-19 12:55:39 +00:00
Mark Riddoch
3898a995ad Addition of show services command 2015-02-19 11:07:24 +00:00
Guillaume Lefranc
e047247200 Add command to print all servers in JSON format 2015-02-19 10:07:31 +01:00
Mark Riddoch
8e941f7523 Addition of the MaxInfo filter and the generic MaxScale resultset 2015-02-18 17:25:13 +00:00
MassimilianoPinto
92e99ddfb7 Auto set router->masterid from master server-id
Automatically set router->masterid if not specified in the option: it’s
taken from  master server-id
2015-02-18 11:04:50 +01: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
Markus Makela
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
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
Markus Makela
02e11b96b0 Changed references of dbshard into shardrouter in shardrouter.c 2015-02-17 12:14:48 +02:00
Markus Makela
a2bff1dcea Merge branch 'develop' into MAX-324 2015-02-16 14:58:35 +02:00
Markus Makela
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
Markus Makela
a0a7dcdcfe Fixed shardrouter possibly missing responses from the subservices if the session wasn't ready. 2015-02-10 20:36:53 +02:00
Markus Makela
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
Markus Makela
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
Mark Riddoch
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
Markus Makela
d9139bb436 Added more tests for the dbshard router. 2015-02-10 10:49:54 +02:00
Mark Riddoch
eafdd43592 Add Master_Server_Id value to returned show slave status command 2015-02-10 08:36:31 +00: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
958cc73176 Add support for SELECT @@server_id 2015-02-09 16:07:01 +00:00
Markus Makela
d455ec4c53 Added support for default databases. 2015-02-09 16:28:48 +02:00
Mark Riddoch
e3c8979ee1 Fix for missing statistics increment 2015-02-09 13:19:51 +00:00
Markus Makela
7cf65adc6e Added more trace log output about database changing and possible errors. 2015-02-07 00:04:13 +02:00
Markus Makela
0d4761ade8 Merge branch 'develop' into MAX-324 2015-02-06 23:27:59 +02:00
Mark Riddoch
9d3b961c15 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-02-06 20:47:03 +00:00
Mark Riddoch
6da16c9958 Some tidy up of binlog rotuer code 2015-02-06 20:46:36 +00:00
Markus Makela
2a06331f82 Fixed readwritesplit hashing function returning the key value instead of the hash value. 2015-02-06 22:09:28 +02:00
Mark Riddoch
e91ad034a8 CRC issue 2015-02-06 17:53:41 +00:00
Mark Riddoch
00c7dccdac Fix for checksum misisng in master rotate event 2015-02-06 14:30:15 +00:00
Markus Makela
4c16eb55a2 Fixed hashing function returning wrong values and added more logging. 2015-02-06 16:27:24 +02:00
Mark Riddoch
d4f5ca6bcb Merge branch 'blr' into develop
Addition of hashtable load and save. Caching of auth information
2015-02-06 11:52:51 +00:00
Mark Riddoch
25e39f35c5 Fix to allow rotate of files without explicit rotate events when the master is offline 2015-02-06 11:45:20 +00:00
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
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
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