Commit Graph

3197 Commits

Author SHA1 Message Date
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
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
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
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
6f1fe003a3 Added missing buffer.c from fullcore static lib. 2015-04-27 10:17:55 +03:00
61ebb0fe97 Fixed a typo in the core CMakeLists.txt 2015-04-27 10:14:47 +03:00
5974935f65 Removed file globbing in the core CMake file and used explicit names instead. 2015-04-27 10:11:30 +03:00
af7567d405 Switched over to gwbuf_clone_portion in modutils_get_complete_packets. 2015-04-27 09:43:22 +03:00
16044f5201 Added optional jemalloc linkage. 2015-04-27 05:57:44 +03:00
89b75cb510 Added FindJemalloc.cmake 2015-04-26 11:41:02 +03:00
c9e2632bb8 Revert "MXS-117: https://mariadb.atlassian.net/browse/MXS-117"
This reverts commit c89c7047053f0d6f89069d1b6da2f9caa856066b.
2015-04-24 17:57:41 +03:00
bbdfc3a5a7 Revert "Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop"
This reverts commit 58e85098f931f6337841b25126fad23b579a9b49, reversing
changes made to c89c7047053f0d6f89069d1b6da2f9caa856066b.
2015-04-24 17:57:29 +03:00
5c96676ea0 Revert "Removed obsolete log directory in MAXSCALE_HOME."
This reverts commit d7b665b8675e305390b401a228053a648a1e20e6.
2015-04-24 17:57:01 +03:00
fdca25db9f Revert "modutil_get_complete_packets now partially clones the buffer instead of allocating a new one."
This reverts commit b62f7f942bde10ea7d69d933c03513e315891d02.
2015-04-24 17:57:00 +03:00
62ebf542d5 Revert "Changed PID file to /data instead of /log"
This reverts commit 45c3b453ec54ae93f82cc3bd53294fc25aced4ee.
2015-04-24 17:56:59 +03:00
45c3b453ec Changed PID file to /data instead of /log 2015-04-24 17:47:30 +03:00
8b7158afda Merge remote-tracking branch 'origin/develop' into MXS-105 2015-04-24 15:40:07 +01:00
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
d7b665b867 Removed obsolete log directory in MAXSCALE_HOME. 2015-04-24 17:19:33 +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
89cae0e35b Added README.md and updated schemarouter documentation. 2015-04-24 06:19:50 +03:00
327f22a0dc Added the release number into the maxscale version macro in macros.cmake and used it in CPack configuration. 2015-04-24 06:04:46 +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
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