Commit Graph

1938 Commits

Author SHA1 Message Date
03badb9b7b Modifications to galera monitor to control whether selection of master is wanted. 2015-04-24 15:35:10 +01:00
b62f7f942b modutil_get_complete_packets now partially clones the buffer instead of allocating a new one. 2015-04-24 17:20:20 +03:00
58e85098f9 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-04-24 17:18:48 +03:00
c89c704705 MXS-117: https://mariadb.atlassian.net/browse/MXS-117
Added command line and configuration file options for controlling the log directory. The default log directory is now /var/log/maxscale/.
2015-04-24 17:15:28 +03:00
e7cdf4d8ef Merge pull request #78 from sjmudd/develop
Make MaxScale handle zero-length files to aid bootstrapping.
2015-04-24 07:08:43 +03:00
21ad6fba2a Added option to disable slave recovery in readwritesplit. 2015-04-24 05:55:06 +03:00
087e2df5a4 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-23 20:26:56 +02:00
fbfbc9fda7 Added more statistics to schemarouter diagnostics. 2015-04-23 21:00:52 +03:00
8d4f301545 Added the option to disable session command history to readwritesplit. 2015-04-23 20:12:04 +03:00
d1551be54f Added support for disabling the saving of the session command history for the schemarouter. 2015-04-23 19:35:41 +03:00
811c13fe32 Added more statistics to the schemarouter. 2015-04-23 06:04:09 +03:00
f5c168973c Added warning about missing monitor_interval parameter 2015-04-22 22:34:02 +03:00
6f870bd74c Added maximum session command amount for schemarouter. 2015-04-22 20:58:52 +03:00
8bc004db26 Merge pull request #77 from tanji/MXS-95
Galera monitor improvement (MXS-95)
2015-04-21 04:38:30 +03:00
b2cfa674b9 Added support for tcmalloc usage. 2015-04-20 17:52:50 +03:00
060ebc3880 Add support for Galera xtrabackup donor availability 2015-04-20 14:45:03 +02:00
060f68892d Fixed a memory leak in schemarouter. 2015-04-20 13:26:16 +03:00
3cb7466fea Fixed modutil_count_statements not igoring trailing whitespace. 2015-04-20 09:25:52 +03:00
1188da1210 Added more logging to tee filter. 2015-04-16 23:11:35 +03:00
4b623e3af4 Added percentage conversion functions to maxconfig.h 2015-04-16 21:51:19 +03:00
1b3af7d61f Fixes to Coverity defects. 2015-04-16 19:41:49 +03:00
39bbc93bbc Changed user addition failure message to mention duplicate users if the user in question was already in the users hash. 2015-04-16 11:02:59 +03:00
bf83ce9db3 Merge branch 'wildcard_auth' into develop 2015-04-15 21:41:07 +03:00
04a4adeb8a Added ordering of the output of SHOW DATABASES for schemarouter. 2015-04-15 21:37:16 +03:00
051d891680 Added utility functions to skygw_utils and cleaned up tee filter. 2015-04-15 12:42:28 +03:00
d16e4fe134 Added an option for optimization of wildcard grants to individual grants. The default behavior now checks first for specific grants to a database the wildcard grants. 2015-04-15 06:51:52 +03:00
253c63e958 Fixed schemarouter not handling show databases queries spanning multiple buffers. 2015-04-14 18:50:19 +03:00
3fb59e020b Added more logging to trace log. 2015-04-09 22:07:53 +03:00
16dcb34908 Merge branch 'platform_check' into develop 2015-04-09 17:31:26 +03:00
a6ca4a8e0a Merge branch 'wildcard_dbnames' into develop
Conflicts:
	server/core/dbusers.c
2015-04-09 17:12:49 +03:00
6dd45e4bcf Binlog Router template
Binlog Router template
2015-04-08 17:10:47 +02:00
d490c2c509 Added casts to unsigned long to some log messages. 2015-04-08 10:54:42 +03:00
71c6ab1d66 Backend databases are queried from all backends before querying users in getAllUsers. 2015-04-07 13:15:48 +03:00
7904b3dcb3 Added doxygen comments to new functions and more logging output when resolving wildcard database names. 2015-04-06 16:14:59 +03:00
0e2d11e487 Fixed missing wildcard character from regex string. 2015-04-06 06:10:17 +03:00
bd68121cc0 Revert "Added resolving of wildcard database grants to multiple single database grants to mysql_client."
This reverts commit 2a416a8cbab5140595f4d2de73d76cefdf3667de.
2015-04-06 05:54:16 +03:00
2a416a8cba Added resolving of wildcard database grants to multiple single database grants to mysql_client. 2015-04-06 05:46:42 +03:00
9deb627360 Changed the names of the logs for the dbfwfilter ruleparser. 2015-04-04 05:32:45 +03:00
e9aa692acd Added the platform check back and added linker flags for PCRE if the embedded library does not have them. 2015-04-03 22:14:51 +03:00
2471ebf55f Small update to rule parser. 2015-04-03 10:53:05 +03:00
89ca0f420a Added a rule parsing tool for the dbfwfilter. The tool can be build with the -DBUILD_TOOLS=Y flag for CMake. 2015-04-03 10:37:21 +03:00
e13ab6689d Fixed coverity defects. 2015-04-03 07:56:45 +03:00
a65c790c3b Fixed dbfwfilter tests. 2015-04-03 06:22:30 +03:00
5ce1b742e9 Binlog Router, slave binlog_pos is now uint32
Binlog Router, slave binlog_pos is now uint32
2015-04-02 16:52:48 +02:00
fa7e0ea7c0 Added error message for multi-statements to dbfwfilter. 2015-04-02 16:47:43 +03:00
795a683c55 Added option for controlling case sensitivity of dbfwfilter regex. 2015-04-02 16:31:34 +03:00
10f97572de Fixed double quotes not woring with regex rules. 2015-04-02 16:20:36 +03:00
bd9fea4b3d Added support for comment lines in rules. 2015-04-02 14:53:49 +03:00
3b6d71086e DISCONNECT logs now to message file
DISCONNECT logs now to message file
2015-04-02 10:21:43 +02:00
440a6ece59 Fix to MXS-78: https://mariadb.atlassian.net/browse/MXS-78
Literal USE statements are now parsed and classified as a database change queries.
2015-04-02 08:16:45 +03:00