Commit Graph

996 Commits

Author SHA1 Message Date
267e702dcd Various fixes and code tidying. 2015-06-10 11:28:25 +01:00
e9f9e0abe5 Change DCB* to DCB * 2015-06-09 15:39:57 +01:00
152f9bbc4a Merge remote-tracking branch 'origin/develop' into MXS-122 2015-06-09 13:51:55 +01:00
393e25e953 Fix bug in dcb; rearrange mysql_backend gw_backend_close to cope with receiving DCB that is no longer linked to a session. 2015-06-09 12:03:58 +01:00
d0e92a15f8 Move decrement of server connections into zombie processing; introduce dcb_close_finish to be called either in dcb_close or when persistent dcb is discarded. 2015-06-09 11:41:43 +01:00
99e9987f9b Clear persistent pool DCBs when server freed. 2015-06-09 08:26:14 +01:00
e395ab1442 Provide explicit time checking for age of persistent DCBs. 2015-06-03 16:47:02 +01:00
fe2f8e70d1 Add CHK_SERVER capability and test in dcb_persistent_clean_count 2015-06-03 15:39:06 +01:00
ef6b6566e6 Fixes? 2015-06-03 15:08:08 +01:00
cb7eb5848b Fixes, tidying up, etc. 2015-06-03 12:03:00 +01:00
6e803c647b Fix bugs, try different arrangement of dcb_close code. 2015-06-03 10:02:27 +01:00
1a76fc141d Add configuration capabilities for persistent connections. 2015-06-02 15:44:57 +01:00
739ea82e36 Clean up modifications. 2015-06-01 14:05:31 +01:00
e5b4984a12 Fix bugs. 2015-05-27 16:56:53 +01:00
23e9a7b4e2 Try out some more changes. 2015-05-27 16:41:06 +01:00
6c5e6a5959 Move code around to fix headers problem etc. 2015-05-27 10:17:35 +01:00
351f52b8e1 Add "show persistent {server}" 2015-05-27 09:57:18 +01:00
8964e76f84 Improve messages 2015-05-26 17:03:13 +01:00
d90ea82aaa Try different code, continue polling while not in use. 2015-05-26 16:31:52 +01:00
44fc324329 Fix bugs 2015-05-26 14:59:26 +01:00
fccb9df817 Add more status information to maxadmin displays 2015-05-26 14:54:32 +01:00
1e700ea85b Fix bugs 2015-05-26 11:32:13 +01:00
9d1b48da57 Move persistent from dcb_close to dcb_add_to_zombieslist 2015-05-26 11:25:10 +01:00
d7cd40e5a5 Bug fixes and improvements. 2015-05-22 15:53:54 +01:00
b51c5f52ef Fix problems in knowing user for persistent connections. 2015-05-22 14:23:14 +01:00
462bfe677b Fix some bugs; add info for maxadmin. 2015-05-22 11:17:17 +01:00
9c461450e2 Fixes to Coverity defects. 2015-05-22 05:36:58 +03:00
91bc7b2792 Added missing spinlock calls to all monitors. 2015-05-21 11:41:11 +03:00
6f31357372 Initial changes for persistent connections - add some basic functionality. 2015-05-20 18:15:11 +01:00
7dbc021149 Added more logging when a monitor script cannot be executed. 2015-05-20 16:16:49 +03:00
b815a79628 Fixed failing execvp calls leaving a process running. 2015-05-20 13:06:08 +03:00
a1270ef447 Added new monitor parameters to config.c 2015-05-19 16:30:01 +03:00
7c7b322e1b Added missing default monitor interval. 2015-05-19 16:20:04 +03:00
a73df62ebd Renamed mon_exec files to externcmd. 2015-05-18 18:34:43 +03:00
8c120ca469 Merge branch 'develop' into MXS-121 2015-05-18 16:05:50 +03:00
1edf7a32cc Added missing strip_db_esc to dbusers.c 2015-05-14 13:43:23 +03:00
b94f494d80 Added filtering of monitor events. 2015-05-14 12:05:58 +03:00
7d3c8673ec Added unique_name to new server when reloading config
Added unique_name to new server when reloading config
2015-05-14 11:02:45 +02:00
c2e881f544 Merge pull request #82 from yhager/MXS-137
MXS-137: correct calculation of query length when length is >= 0x80
2015-05-13 11:12:44 +03:00
efef7def6d Added test case for MXS-137: https://mariadb.atlassian.net/browse/MXS-137 2015-05-13 10:55:57 +03:00
13200e8c74 MXS-137: correct calculation of query length when length is >= 0x80 2015-05-12 11:27:46 -07:00
fec1e66a5c Add comment for parameter, correct spelling in comment. 2015-05-12 11:53:11 +01:00
d1a768f6f5 Updated documentation and created a readwritesplit router document. 2015-05-12 04:48:25 +03:00
1aba13177b Added ndbclustermon and mmmon headers. 2015-05-11 20:35:54 +03:00
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
ba3c29c72b Fixed old function calls using monitor handle instead of MONITOR type. 2015-05-09 11:01:16 +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
3cd49ac364 Added missing utils library link from testmodutils. 2015-05-07 05:56:28 +03:00
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