Commit Graph

3399 Commits

Author SHA1 Message Date
3bd03fbe09 Merge branch 'logmanager_stdout' into develop 2015-05-04 11:03:24 +03:00
c0f14dd33b Merge branch 'develop' into mon_script_test 2015-05-04 09:14:04 +03:00
463cd4a97e Moved common sharding functions to a separate file. 2015-05-04 07:06:24 +03:00
c8e5df94be Fixed memory leak in query_classifier. 2015-05-03 09:58:17 +03:00
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
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
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
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
2498278582 Fixed queued queries not being freed if session was closed before they could be routed. 2015-04-30 22:22:26 +03:00
e0feeac9e6 Added missing SESSION_STATE_ROUTER_READY to STRSESSIONSTATE macro. 2015-04-30 21:41:57 +03:00
88da984ea3 Added even more clarification to the non-release warning in FindMySQL.cmake 2015-04-30 11:42:56 +03:00
31be62774f Added a more descriptive warning when building MaxScale with source built MariaDB server. 2015-04-30 11:39:24 +03:00
7a56be5f3d Fixed LSB compatible init.d script missing reload functionality. 2015-04-30 11:36:33 +03:00
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
bb51a6fb9d Updated Configuration Guide with a note about conflicts when multiple monitors monitor the same set of servers. 2015-04-30 11:13:49 +03:00
360db8b235 Changed all atoi calls to config_truth_value when they were used to generate boolean values. 2015-04-30 10:58:35 +03:00
416ffea9b7 Changed errmsg.sys installation location to /var/lib/maxscale 2015-04-30 10:37:06 +03:00
6e4aa9862d Fixed a segfaul caused by a null pointer in dbfwfilter rule parsing. 2015-04-30 04:52:35 +03:00
e3620eddbb Merge branch 'develop' into logmanager_stdout 2015-04-30 04:28:40 +03:00
7c988c4fd5 Removed stdout specific functions in skygw_utils and moved the logic to log_manager instead. 2015-04-30 04:26:48 +03:00
00abb38689 Fixed rule parsing 2015-04-29 19:19:36 +03:00
47e5b12eb8 Added a function that frees the skygw_file_t memory but doesn't close it. 2015-04-29 18:25:35 +03:00
87133388dc Added a note to the dbfwfilter documentation about using local time. 2015-04-29 15:08:18 +03:00
c190433c7d Fixed dbfwfilter rules.
Fixed at_times not working if combined with on_queries.
2015-04-29 14:29:43 +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
8bff81e0a9 Fixed rule parsing failing if at_times is used with on_queries. 2015-04-29 11:39:17 +03:00
9ce225c2cb Added log manager initialization flag that prints all logs to stdout. 2015-04-29 11:20:40 +03:00
c035f4b8b7 Removed current directory from the module search path. 2015-04-29 07:03:05 +03:00
5394b4d0fa Changed standard installation directory from /usr/local/mariadb-maxscale to /usr/local. 2015-04-29 05:42:58 +03:00
bf7576a501 Fixed memory leak in config_load 2015-04-28 18:43:40 +03:00
74b5e1ddcf Added fix for MariaDB 10.0 embedded server missing the 5.5.5- string from the server handshake. 2015-04-28 18:31:30 +03:00
3501ffb689 Updated documentation 2015-04-28 16:39:52 +03:00
3874400abf Fixed resource leak in blr_file. 2015-04-28 11:45:53 +03:00
9ef66a6028 The filter harness no longer builds the MaxScale core twice. 2015-04-28 11:23:40 +03:00
d2adeca583 Updated MaxScale patch version. 2015-04-28 11:15:09 +03:00
71531cde3e Updated package installation and started documentation update. 2015-04-28 11:09:49 +03:00
e681d18fdd Split packaging to RPM and DEB cmake files. 2015-04-27 23:11:49 +03:00
9e0a2bfc12 Changed relevant files to use get_cachedir() instead of using the now deprecated MAXSCALE_HOME. 2015-04-27 21:55:57 +03:00
1cc6ced505 Updated old references to MAXSCALE_HOME 2015-04-27 15:06:45 +03:00
55249193a9 Updated post-install scripts and binlogrouter
Binlogrouter: Switched hard-coded maximum path values to PATH_MAX and used cache directory instead of MAXSCALE_HOME
Scripts: Updated with new executable file paths
2015-04-27 14:47:26 +03:00
1f21540f8c Make MaxScale handle zero-length files to aid bootstrapping.
When bootstrapping a binlog router to start it needs to know the first
file to use. You can provide this information in the config file but
that will never be up to date, or you can copy a file to the binlog
server and start maxscale. It will then carry on from the last file’s
current position.

The binlog files have a 4-byte magic prefix so to start from the beginning
(position 4) you need to add these to an empty file if you do this by
hand. If you don’t then maxscale will attempt to download from the
master at position 0 and the master will not accept this value. (This is
not apparent with a mysql client as change master to … master_log_pos
= 0 triggers a write of the 4 magic bytes and then asks the master for
information from position 4 [not 0]).

This patch makes MaxScale behave similarly and allows you to only
need to touch the first binlog file to be downloaded for it to do the
right thing.
2015-04-27 13:46:06 +03:00
bbcecc0db5 Changed all MaxScale.cnf code references to maxscale.cnf 2015-04-27 13:44:36 +03:00
0cfcad55da Moved get_libdir function to its own file. 2015-04-27 11:06:11 +03:00
2fce114483 Added missing buffer.c from fullcore static lib. 2015-04-27 10:18:43 +03:00
6f1fe003a3 Added missing buffer.c from fullcore static lib. 2015-04-27 10:17:55 +03:00
97653e98fa Fixed a typo in the core CMakeLists.txt 2015-04-27 10:16:01 +03:00
61ebb0fe97 Fixed a typo in the core CMakeLists.txt 2015-04-27 10:14:47 +03:00
d5682bf7c0 Removed file globbing in the core CMake file and used explicit names instead. 2015-04-27 10:14:14 +03:00
5974935f65 Removed file globbing in the core CMake file and used explicit names instead. 2015-04-27 10:11:30 +03:00
41ddc6fbfd Switched over to gwbuf_clone_portion in modutils_get_complete_packets.
Conflicts:
	server/core/modutil.c
2015-04-27 09:45:11 +03:00