Commit Graph

1062 Commits

Author SHA1 Message Date
38fd7b0844 master_id set by monitor
master_id set by monitor and printed via dprint* routines
2014-06-17 16:10:11 +02:00
e0c3ef24d7 typo fix
typo fix
2014-06-17 13:05:31 +02:00
fe846885d5 depth and master_id fields added
depth and master_id fields added
2014-06-17 13:05:03 +02:00
189793f992 Clean up some compiler warnings 2014-06-16 08:40:04 +01:00
850603171b Improvements to CLI commands and client 2014-06-16 07:57:12 +01:00
c2fa112407 Remove .swp file which was added by mistake 2014-06-13 23:42:21 +01:00
719503e471 Addition of new client utility, maxadmin.
Supporting protocol for the admin interface

New routing module, cli, which shares source with debugcli

Tidyup output of lsit commands
2014-06-13 23:40:07 +01:00
02330093cc Added test for session commands. 2014-06-11 15:33:42 +03:00
9e164b83f0 Updates to debug CLI
Fix for argument passign to show filter

Addition of list dcbs commands
2014-06-07 20:41:58 +01:00
7c8803f2f2 Updated with new debug CLI guide 2014-06-06 10:55:47 +01:00
e9bd3676c1 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-06-06 10:51:14 +01:00
0ae1b3b15c Updated configuration guide 2014-06-06 10:50:40 +01:00
03b9f11e1e Delete MaxScale 0.6 Release Notes.pdf 2014-06-06 09:02:30 +01:00
827c08a751 Delete Max Scale 0.6 Release Notes.pdf 2014-06-06 09:02:20 +01:00
c7b3c0925d Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-06-06 09:01:06 +01:00
4f560889f8 Addition of 0.7 release note 2014-06-06 09:00:50 +01:00
047dd5f90e process_config_update didn't handle filter type which caused erroneous message being printed to error log. 2014-06-05 21:09:23 +03:00
1a43a4868f Added check for NULL pointer in serviceClearRouterOptions. 2014-06-05 20:17:39 +03:00
515f6de742 Incremented version number 2014-06-05 17:10:10 +01:00
656c54af0a Fixed memory allocation issue when the repalcement text is considerably
longer than the match text.
2014-06-05 17:08:44 +01:00
c1c188cf4f Fix for unintialised structure member 2014-06-05 16:24:05 +01:00
be87556ab0 Fix for compiler warnings 2014-06-05 15:26:57 +01:00
959b9aeec8 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-06-05 15:09:16 +01:00
01af5d1aef Fix for config file ordering 2014-06-05 15:08:49 +01:00
9904e71efe Fixed issue with filter object poitner not being initialised.
Addition of "not loaded" message in show filters
2014-06-05 08:55:19 +01:00
ea177b481f Fixed for typo in modutil.h
Addition of timestamps to the query log produced by the QLA filter
2014-06-04 23:30:54 +01:00
46ca0676c0 A filter parameter fix and a new filter, the regex filter.
The regexfilter is an example of a query rewriting filter that uses
regular expressions to match the SQL text and allows a replacement text
to be used for each match of the regular expression.

Regexfilter has no special SQL undertanding, it merely uses the features
avialable inthe regex library to perform matches.

Statements that span multiple packets are not supported by the regex
filter.
2014-06-04 23:04:17 +01:00
f612b90cd7 Merge branch 'develop' into MAX-65 2014-06-04 21:14:31 +01:00
57e910ad3d Addition of the module utilities functions 2014-06-04 18:34:24 +01:00
7e863657db Removed references to SERVER_IS_JOINED status from readwritesplit.c because rwsplit for Galera doesn't use that status at all. 2014-06-04 14:49:05 +03:00
4dbd51b1fc fixed macro name
fixed macro name
2014-06-04 13:15:01 +02:00
099a38a795 monitor_interval added
monitor_interval added
2014-06-04 11:57:33 +02:00
1575afb05f Merge pull request #5 from skysql/MAX-122
Max 122
2014-06-04 09:19:44 +01:00
46495bb59e Bug #443, http://bugs.skysql.com/show_bug.cgi?id=443
monitors used mysql_ping without MYSQL_OPT_READ_TIMEOUT which caused read to block. Fixed in mysql and galera monitor.
Added log writing per each status change of each server and repeatedly if server is not running.

Removed SERVER_IS_JOINED checks from rwsplit router.
2014-06-03 19:39:50 +03:00
b7f6e600cc Fix compilation error 2014-06-03 15:35:09 +01:00
1ebf27eab3 Add server maintenance mode.
Maintenance mode prevents a server from having new connections made
to it and stops MaxScale from monitoring a server. It is designed
to allow a server to be taken out of an active cluster for maintenance.
It prevents new connections and allowsg existing connections to
drain away prior to performaing maintenance on the server.
2014-06-03 09:25:09 +01:00
1d48794963 Addition of API modinfo implementation for filters 2014-06-02 18:18:31 +01:00
b764745fc3 Merge branch 'develop' into MAX-65
Conflicts:
	server/core/config.c
2014-06-02 18:07:09 +01:00
e274bba23d Addition of checks to confirm modules report the expected API implementation 2014-06-02 17:38:15 +01:00
1245fba35b Addition of the module info structure to allow module information to
be extracted from the modules.

This gives a way to verify the API that the module provides as well
as the version of that API. The hope is that this will make it possible
for MaxScale to detect out of date plugins and either adapt to use them
or reject loading them.

Also added the ability to set a release state on a per module basis.
This allows for production ready and non-production ready plugins to
be identified.
2014-06-02 17:10:05 +01:00
21221a513f Correction to list filters command output 2014-06-02 14:36:51 +01:00
857ae25570 Addition of session filter tracking in order to allow the show session
command to call the diagnostic entries points of the filters in the
session.

Slight improvements to the two example filters and a fix to the
trim routine.
2014-06-02 10:56:50 +01:00
f026cd9e77 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-05-30 18:15:21 +01:00
589ed75d32 Addition of alternative truth values in the config file, on, off, true
or false can now be used as well as 0 and 1 when defining the
enable_root_user parameter.
2014-05-30 18:14:21 +01:00
8d55be4b23 First working filters implementaton.
Only downstream filters are supported currently, i.e. no result
set filtering can be done.

A crude QLA (Query Log All) filter is included as a test harness only
2014-05-30 16:45:39 +01:00
9522d06f9b Tried explicitly access NULL pointer. 2014-05-30 11:32:37 +03:00
a522cb4651 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-05-30 10:11:00 +03:00
752f28ce48 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-05-29 16:57:49 +01:00
3e17120105 Allow space for terminating NULL in args array 2014-05-29 16:57:17 +01:00
238595d898 Merge branch 'feature-MAX-60' into develop 2014-05-29 12:14:52 +02:00