Commit Graph

14 Commits

Author SHA1 Message Date
9845923f81 Added full implementation of MXS-121 to all monitors. 2015-05-09 17:37:34 +03:00
0c15812340 Moved common functions to monitor_common.c 2015-05-09 14:29:26 +03:00
8af302d785 Removed unused variables from monitors. 2015-05-09 14:19:25 +03:00
49d5409dcb Merge branch 'develop' into MXS-121
Conflicts:
	server/modules/monitor/mysql_mon.c
2015-05-09 04:49:06 +03:00
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
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
1755706ada Master/Slave detection based on variable only
Master/Slave role setting is now based on variable value only.

Replication is checked and, if working, master_id, slave_id are saved
into server struct
2015-04-29 10:50:32 +02:00
90875c1164 Cleaned up unused variables. 2015-03-11 18:12:18 +02:00
63d83cd85d Monitor API 2.0.0 implemented. 2015-03-11 15:18:55 +02:00
70f0f239a5 Added dcb_call_foreach to galera monitor and fixed MM monitor missing a parameter. 2015-02-24 15:38:33 +02:00
0e1bcde5de Fixed compile errors for mm_mon.c
Fixed compile errors for mm_mon.c
2015-02-23 18:58:00 +01:00
511d93f266 Monitored server status change logged in debug log
Monitored server status change is now logged in debug log
2014-11-20 12:18:33 +01:00
39cc701b0d Branch update
Branch update
2014-11-07 16:59:01 +01:00
3b982ae820 Added monitor timeouts for connect/read/write
Added monitor timeouts for connect/read/write
2014-11-07 16:45:06 +01:00