2238 Commits

Author SHA1 Message Date
Yuval Hager
13200e8c74 MXS-137: correct calculation of query length when length is >= 0x80 2015-05-12 11:27:46 -07:00
counterpoint
fec1e66a5c Add comment for parameter, correct spelling in comment. 2015-05-12 11:53:11 +01:00
Markus Makela
d1a768f6f5 Updated documentation and created a readwritesplit router document. 2015-05-12 04:48:25 +03:00
Markus Makela
8301410c79 Fixed possible memory leaks in schemarouter. 2015-05-11 22:02:35 +03:00
Markus Makela
1aba13177b Added ndbclustermon and mmmon headers. 2015-05-11 20:35:54 +03:00
Markus Makela
3ef9b0927d Fixed minor memory leak in mysql_backend when gw_decode_mysql_server_handshake failed. 2015-05-11 15:33:36 +03:00
MassimilianoPinto
a48e694dba Fix for log messages
Fix for log messages about MariaDB 10 registration and unexpected query
2015-05-11 12:42:14 +02:00
MassimilianoPinto
f991e58b57 MariaDB 10 master requires MariaDB 10 slaves
Only MariaDB 10 slaves can register to binblog server with a MariaDB 10
Master
2015-05-11 11:43:21 +02:00
Markus Makela
14b2c149f5 Removed resource leaks in regexfilter. 2015-05-10 06:34:39 +03:00
Markus Makela
63060d1233 Added possibility to run as non-root user. 2015-05-10 06:27:41 +03:00
Markus Makela
1d0740c1c1 Renamed node to initiator in the arguments a monitor calls the script. 2015-05-09 21:16:35 +03:00
Markus Makela
9845923f81 Added full implementation of MXS-121 to all monitors. 2015-05-09 17:37:34 +03:00
Markus Makela
0c15812340 Moved common functions to monitor_common.c 2015-05-09 14:29:26 +03:00
Markus Makela
8af302d785 Removed unused variables from monitors. 2015-05-09 14:19:25 +03:00
Markus Makela
6e1a69df7e Changed callable monitor scripts to be called with command line parameters instead of having multiple scripts.
This reduces the amount of guesswork the monitor has to do when executing the script and places that burden on the called script.
2015-05-09 14:03:52 +03:00
Markus Makela
788c0b3428 Merge branch 'develop' into MXS-121 2015-05-09 12:09:17 +03:00
Markus Makela
ff2462f2d2 Fix to MXS-127:https://mariadb.atlassian.net/browse/MXS-127
Corrected the wrong session commands being deleted.
2015-05-09 11:25:18 +03:00
Markus Makela
ba3c29c72b Fixed old function calls using monitor handle instead of MONITOR type. 2015-05-09 11:01:16 +03:00
Markus Makela
49d5409dcb Merge branch 'develop' into MXS-121
Conflicts:
	server/modules/monitor/mysql_mon.c
2015-05-09 04:49:06 +03:00
Markus Makela
5a3ed0de9b Moved common monitor functionality to the MONITOR type
Common variables, like databases, timeouts and interval, and functionality was moved to the MONITOR type.
This reduces the redundant functionality of the monitor API's functions like registerServer and setInterval.
2015-05-09 04:47:17 +03:00
MassimilianoPinto
230f88737c Added reading saved mariadb10 data
Added reading saved mariadb10 data
2015-05-07 18:05:04 +02:00
MassimilianoPinto
5d1e09ca4f Added MariaDB 10 Compatibility without GTID
Added MariaDB 10 Compatibility without GTID
2015-05-07 17:14:39 +02:00
MassimilianoPinto
7d48779913 Added MAX_EVENT_TYPE_MARIADB10 check
Added MAX_EVENT_TYPE_MARIADB10 check  for router->mariadb10_compat
2015-05-07 17:02:33 +02:00
MassimilianoPinto
2c2a03a6f6 Always reply to SET @mariadb_slave_capability
Always reply to SET @mariadb_slave_capability, with saved master reply
for mariadb10 master or with OK otherwise
2015-05-07 16:10:35 +02:00
MassimilianoPinto
3f2876bde3 Fixed buffer free
Fixed buffer free
2015-05-07 15:32:12 +02:00
MassimilianoPinto
e9391ef486 MariaDB 10 optional compatibility
MariaDB 10 optional compatibility with mariadb10-compatibility=1
2015-05-07 15:16:37 +02:00
Markus Makela
8afa46b8b2 Removed BLRM_MAXSTATE_MARIADB10 and set BLRM_MAXSTATE to 0x014 2015-05-07 13:00:34 +03:00
Markus Makela
bc7cc2a466 Added variables for MariaDB 10 compatibility. 2015-05-07 12:56:58 +03:00
Markus Makela
fdd5a10478 Fixed a memory leak in all the monitors when a failed mysql_ping to the database caused a reinitialization of MYSQL* connection. 2015-05-07 11:42:14 +03:00
Markus Makela
3cd49ac364 Added missing utils library link from testmodutils. 2015-05-07 05:56:28 +03:00
Markus Makela
da6d597987 Moved common monitor structures and definitions to a separate header and added master down script to galeramon. 2015-05-07 05:56:13 +03:00
Markus Makela
bb074d8f94 Removed stdout printing of useless messages from maxkeys and maxpasswd. 2015-05-06 21:00:43 +03:00
Markus Makela
dcd0098823 Added stdout as an option for log output with the -l or --log command line option. 2015-05-06 17:33:02 +03:00
MassimilianoPinto
5c7b2a68e5 mariadb10 compatibility test without GTID
First implementation of mariadb10 compatibility test without GTID

State machine to be modified for mysql5.6/mariadb10 compatibility
router options for mariadb10 slave registration still missing
2015-05-06 12:19:18 +02:00
Markus Makela
cad59abbd1 Added parameters for commands and changed the execv call to execvp. 2015-05-05 22:36:47 +03:00
Markus Makela
565eeb8f9d Merge branch 'develop' into mon_script_test 2015-05-05 18:30:08 +03:00
Markus Makela
9b4e835434 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-05-05 13:46:13 +03:00
Markus Makela
9c305d95c7 Added a warning about multiple monitors monitoring the same servers. 2015-05-05 13:45:24 +03:00
counterpoint
9d9ebc5f67 Correct date in revision history, add to revision history for disableMasterRoleSetting. 2015-05-05 11:07:23 +01:00
counterpoint
8647b30184 Merge remote-tracking branch 'origin/develop' into MXS-105
Conflicts (resolved):
	server/modules/routing/schemarouter/schemarouter.c
2015-05-05 10:54:09 +01:00
Markus Makela
6d89e156b3 Added a warning for bad boolean configuration values. 2015-05-04 20:26:32 +03:00
Markus Makela
3bd03fbe09 Merge branch 'logmanager_stdout' into develop 2015-05-04 11:03:24 +03:00
Markus Makela
c0f14dd33b Merge branch 'develop' into mon_script_test 2015-05-04 09:14:04 +03:00
Markus Makela
463cd4a97e Moved common sharding functions to a separate file. 2015-05-04 07:06:24 +03:00
Markus Makela
b53decb72b Fix to MXS-75: https://mariadb.atlassian.net/browse/MXS-75
COUNT(*) is no longer denied by wildcard rules.
2015-05-03 09:36:00 +03:00
Markus Makela
d545150ceb Fix to MXS-70: https://mariadb.atlassian.net/browse/MXS-70
Added assert information to error log.
2015-05-02 05:51:25 +03:00
Markus Makela
4cba9890fd MXS-98: https://mariadb.atlassian.net/browse/MXS-98
Added optional logging of regex filter matching to user defined file and trace log.
2015-05-01 18:54:19 +03:00
Markus Makela
550b130d91 Schemarouter shortest session statistic now only updates session with a length of more than zero seconds. 2015-05-01 11:13:43 +03:00
Markus Makela
2498278582 Fixed queued queries not being freed if session was closed before they could be routed. 2015-04-30 22:22:26 +03:00
Markus Makela
6c904b164a Fix to bug MXS-25
A failed master no longer generates the "Info: A Master Server is now available" message.
2015-04-30 11:28:07 +03:00