1022 Commits

Author SHA1 Message Date
Mark Riddoch
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
Mark Riddoch
e274bba23d Addition of checks to confirm modules report the expected API implementation 2014-06-02 17:38:15 +01:00
Mark Riddoch
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
Mark Riddoch
f026cd9e77 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-05-30 18:15:21 +01:00
Mark Riddoch
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
VilhoRaatikka
9522d06f9b Tried explicitly access NULL pointer. 2014-05-30 11:32:37 +03:00
VilhoRaatikka
a522cb4651 Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-05-30 10:11:00 +03:00
Mark Riddoch
752f28ce48 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-05-29 16:57:49 +01:00
Mark Riddoch
3e17120105 Allow space for terminating NULL in args array 2014-05-29 16:57:17 +01:00
MassimilianoPinto
238595d898 Merge branch 'feature-MAX-60' into develop 2014-05-29 12:14:52 +02:00
MassimilianoPinto
d19aedeb2c Merge branch 'develop' into feature-MAX-60 2014-05-29 12:12:05 +02:00
MassimilianoPinto
624c720c7d Merge branch 'develop' into feature-MAX-98 2014-05-29 12:11:15 +02:00
Mark Riddoch
7bca4e383f Updated table of contents 2014-05-29 10:36:16 +01:00
Mark Riddoch
5b97e15a1f Updated documentation of the debug CLI to include the new list commands 2014-05-29 10:32:25 +01:00
Mark Riddoch
b761c798ca Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-05-29 09:01:44 +01:00
MassimilianoPinto
71bc2ba3ee set maxscale_id updated
set maxscale_id updated
2014-05-29 09:43:21 +02:00
MassimilianoPinto
6cc2700383 Merge branch 'develop' into feature-MAX-98 2014-05-29 09:08:57 +02:00
MassimilianoPinto
4127c5397f Merge branch 'develop' into feature-MAX-60 2014-05-29 09:08:23 +02:00
MassimilianoPinto
b710025a8e printed message modified
printed message modified
2014-05-29 09:07:59 +02:00
MassimilianoPinto
915c7aea16 branch update from develop
branch update from develop
2014-05-29 09:02:43 +02:00
Mark Riddoch
f84e2b0dae Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-05-28 23:39:17 +01:00
Mark Riddoch
797f044cf9 Addition of the list command to the debugcli to list servers,
services, listeners and sessions
2014-05-28 23:25:47 +01:00
MassimilianoPinto
c658c0fe9a Replication Lag parameter in diagnostics
Replication Lag parameter value is now printed in diagnostics routine
for MySQL monitor
2014-05-28 18:42:17 +02:00
MassimilianoPinto
b1e933f7ef Replication Lag in server diagnostics
Replication Lag in server diagnostics
2014-05-28 18:36:52 +02:00
MassimilianoPinto
5899fe0000 new parameters added for monitors
new parameters added for monitors
2014-05-28 18:11:07 +02:00
MassimilianoPinto
38b3368fe3 Merge branch 'develop' into feature-MX-60 2014-05-28 17:56:58 +02:00
MassimilianoPinto
4db9162bbc diagnostic routines updated
diagnostic routines updated
2014-05-28 17:56:18 +02:00
MassimilianoPinto
31e2d4e12a monitor diagnostics update
monitor diagnostics update
2014-05-28 17:52:37 +02:00
VilhoRaatikka
430ccf52d4 Merge branch 'MAX-11' into develop 2014-05-28 18:32:39 +03:00
VilhoRaatikka
1a2b8e5475 Router spinlock wasn't used to protect routing. As a consequence router could have been closed in thread #1 while thread #2 was in a middle of execution of router code. Solved by holding router lock so that it covered whole routing operation. 2014-05-28 18:29:02 +03:00
MassimilianoPinto
e4545baf97 Node Replication Consistency
Node Replication Consistency
2014-05-28 17:27:09 +02:00
MassimilianoPinto
7108a25299 added routines
added routines
2014-05-28 15:56:10 +02:00
MassimilianoPinto
fe0fcd75e4 new monitor routines
new monitor routines
2014-05-28 15:44:51 +02:00
MassimilianoPinto
d0a30748ab Branch update
Branch update
2014-05-28 14:52:04 +02:00
MassimilianoPinto
ca4b53f1b8 Merge branch 'develop' into feature-MX-60 2014-05-28 14:48:27 +02:00
MassimilianoPinto
77b790efbf Replication lag support in server struct
Replication lag support in server struct and configuration
2014-05-28 14:47:35 +02:00
VilhoRaatikka
a73c9c8076 Completing fix to #438 2014-05-28 14:39:44 +03:00
VilhoRaatikka
89c51cff20 Completing fix to #438 2014-05-28 14:36:53 +03:00
VilhoRaatikka
74732491f0 Merge branch 'develop' into MAX-11 2014-05-28 14:22:53 +03:00
VilhoRaatikka
4ac11d137e Merge branch 'develop' of https://github.com/skysql/MaxScale into develop 2014-05-28 14:22:11 +03:00
VilhoRaatikka
6890129bf2 Bug #438, http://bugs.skysql.com/show_bug.cgi?id=438 try to complete the fix. dcb->authlock was double-freed. 2014-05-28 14:16:25 +03:00
VilhoRaatikka
a42e7b5702 Bug #438, http://bugs.skysql.com/show_bug.cgi?id=438 try to complete the fix. dcb->authlock was double-freed. 2014-05-28 14:06:06 +03:00
VilhoRaatikka
0cb1eb842a Bug #438, http://bugs.skysql.com/show_bug.cgi?id=438 try to complete the fix. dcb->authlock was double-freed. 2014-05-28 14:03:59 +03:00
Mark Riddoch
3514156f28 Merge branch 'develop' of github.com:skysql/MaxScale into develop 2014-05-28 11:20:45 +01:00
Mark Riddoch
509379df70 Fix for NULL buffer past to gwbuf_length 2014-05-28 11:00:50 +01:00
MassimilianoPinto
798dd6a5a6 Added routines for interval and defaultId (MySQL)
Added routines for interval and defaultId (MySQL)
2014-05-28 11:51:58 +02:00
MassimilianoPinto
a1a3dcdfbb Merge branch 'develop' into feature-MX-60 2014-05-28 10:44:37 +02:00
MassimilianoPinto
f985e1cac5 server_id for MySQL replication set for each node
server_id for MySQL replication is now set for each node and
dprintServer* routines can print it as well
2014-05-28 10:43:01 +02:00
MassimilianoPinto
f80f8ce26d monitorID and monitor_interval
monitorID and monitor_interval
2014-05-28 10:06:49 +02:00
MassimilianoPinto
78a02f5297 Compile warning fixed in galera_mon.c
Compile warning fixed in galera_mon.c
2014-05-28 09:39:33 +02:00