Commit Graph

3423 Commits

Author SHA1 Message Date
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
7cdf32773f Updated documentation. 2015-04-23 21:05:50 +03:00
fbfbc9fda7 Added more statistics to schemarouter diagnostics. 2015-04-23 21:00:52 +03:00
9dfc20d966 Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-04-23 20:12:57 +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
d89dce4372 Added emacs mode support for maxadmin. Accepted command line switches are -e and --emacs and the .maxadmin file looks for a editor=vi|emacs parameter. 2015-04-23 19:34:41 +03:00
e148efe8ca Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop 2015-04-23 15:38:34 +02:00
b3745eba3e Logging to file message update
Logging to file message update
2015-04-23 14:44:56 +02:00
70cf7663d7 Updated documentation and added a message if libedit is not found. 2015-04-23 15:04:38 +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
47023907a1 Added service sections to all filter examples. 2015-04-19 20:36:00 +03:00
7e4e930abd Added missing regexfilter documentation updates. 2015-04-19 20:24:12 +03:00
d1e44eb883 Cleaned up filter documents and added clarification about service and filter interaction. 2015-04-19 18:46:14 +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
cceca1b428 Updated core library dependency checks. 2015-04-16 18:23:30 +03:00
254b1bf05d Added FindPCRE.cmake which is used by the FindMySQL.cmake. 2015-04-16 18:11:29 +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
f28f03ef0a Added optimize_wildcard section to configuration guide. 2015-04-15 21:43:45 +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
786f34cf49 Fixed typos in documentation. 2015-04-14 20:36:29 +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
86768966b9 Added support for logging messages to multiple logfiles in a single call. 2015-04-09 20:59:52 +03:00
16dcb34908 Merge branch 'platform_check' into develop 2015-04-09 17:31:26 +03:00
60a0cbb306 Added profiling option to CMake. Adding the -DPROFILE=Y to the CMake command now compiles executables with the -pg flag. 2015-04-09 17:21:02 +03:00
a6ca4a8e0a Merge branch 'wildcard_dbnames' into develop
Conflicts:
	server/core/dbusers.c
2015-04-09 17:12:49 +03:00
df70fe8a4e Renamed log files to message,error,trace and debug. 2015-04-09 13:40:02 +03:00
285a245893 Fixed broken link. 2015-04-09 08:02:51 +03:00
47a9a14914 Updated source building guide. 2015-04-08 20:47:27 +03:00
086be2a1d5 Added a template configuration file for the binlogrouter 2015-04-08 18:18:39 +03:00
6dd45e4bcf Binlog Router template
Binlog Router template
2015-04-08 17:10:47 +02:00
df8f63e141 RC to GA
RC to GA
2015-04-08 16:50:01 +02:00
6d2d6da07b BinLog router compatibility update
BinLog router compatibilty update
2015-04-08 14:54:52 +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
1516422458 A script can now be called in mysql_mon when a master server loses master status. 2015-04-07 04:49:56 +03:00