dee20fe077
Merge remote-tracking branch 'origin/develop' into MXS-329-develop-20151111
...
# Conflicts:
# server/core/CMakeLists.txt
# server/core/buffer.c
# server/core/service.c
# server/modules/filter/tee.c
# server/modules/monitor/mysql_mon.c
# server/modules/routing/binlog/blr.c
# server/modules/routing/binlog/blr_slave.c
# server/modules/routing/debugcmd.c
# server/modules/routing/readwritesplit/readwritesplit.c
# utils/skygw_utils.cc
- resolved.
2015-11-11 11:08:02 +00:00
1fc6b00211
Add conditionally compiled mechanism to "show buffers" to give a list of the currently allocated buffers, with a trace for each one of the calls that led to its creation.
2015-11-11 09:03:48 +00:00
450078fa92
Interface of skygw_logmanager_init(int argc, char* argv[]) changed.
...
The previous interface of skygw_logmanager_init was conceptually
broken. With -o you could specify that logging should be done to
stdout. However, even if you did that, the log manager still checked
that the logging directory could be accessed. Unless it had been
specified using -j <path> the default was /var/log/maxscale.
That is, unless the program calling skygw_logmanager_init was invoked
by a user that had write access to /var/log/maxscale, there would be
a complaint even if nothing was ever written to that directory.
In practice this meant that even if -o was used you had to provide
a -j with a path that surely is writeable (e.g. "/tmp").
This has now been changed so that you explicitly must provide the
log directory and the flags -j and -o are removed.
bool skygw_logmanager_init(const char* logdir, int argc, char* argv[]);
If /logdir/ is provided then logged messages are written to a log file
in that directory. If /logdir/ is NULL then messages are logged to stdout
and no checks for access to any directory is not made.
2015-11-06 14:20:05 +02:00
d57b4cd531
Fix to MXS-54: https://mariadb.atlassian.net/browse/MXS-54
...
Added a new configuration parameter that allows the user to control
whether authentication warning messages are logged.
2015-11-04 09:18:20 +02:00
9cd327a783
Fix to MXS-417: https://mariadb.atlassian.net/browse/MXS-417 Added support for single-character wildcard in IP addresses.
...
Single character wildcard addresses are now properly handled
2015-11-03 10:15:34 +02:00
7c582f91ea
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-11-02 18:09:59 +02:00
529e697eaf
Updated code based on review of ac308dcb2c34e081f9814ad40c0961a217c86fc4
...
Removed unnecessary spinlock and added more checks.
2015-11-02 12:00:08 +02:00
6810ed15dd
Fix to MXS-436: https://mariadb.atlassian.net/browse/MXS-436
...
Added autodetection of processor cores and used it as the default if an
invalid value is used for threads.
2015-11-02 12:00:08 +02:00
cd55f62051
Fix to MXS-29: https://mariadb.atlassian.net/browse/MXS-29
...
If MAXSCALE_SCHEMA.REPLICATION_HEARTBEAT isn't replicated, a warning is logged.
2015-10-31 10:34:37 +02:00
c1eb84b377
Added utility functions for regular expression matching with the PCRE2 library.
2015-10-31 10:34:37 +02:00
bad61b0740
Change binlog router to indicate it does not use router sessions via the getCapabilities interface.
2015-10-27 14:17:06 +00:00
75e8033052
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-10-19 09:36:04 +02:00
6e9a2a89eb
Add dcb_hangup_foreach to DCB header.
2015-10-17 20:09:05 +01:00
482db5e84d
User friendly bit mask display for DCB print; monitors to work via inserting hangups instead of callbacks.
2015-10-17 20:00:05 +01:00
897907b202
Fix to MXS-352: https://mariadb.atlassian.net/browse/MXS-352
...
If a service fails, MaxScale will try to start it again later on.
2015-10-07 15:35:12 +03:00
bff6db96a1
Same database on more than one server now cause the schemarouter session to be closed.
2015-10-05 10:20:58 +03:00
2dfb9e3c11
Merge branch 'develop' into MXS-329
2015-09-24 17:59:36 +03:00
95a4daecc9
Add GWBUF_POINTER_IN_BUFFER macro; add extra free calls to remove memory leaks.
2015-09-22 11:54:47 +01:00
a2d91678c7
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-09-15 15:17:20 +02:00
8a996029bc
Merge branch 'MXS-35' into develop
2015-09-15 11:50:36 +03:00
cfeaf7d6e9
Merge remote-tracking branch 'origin/develop' into MXS-329
...
Conflicts:
server/core/session.c
2015-09-10 13:07:27 +01:00
6fe8082445
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-09-09 10:20:25 +02:00
986c918d52
Remove ERRACT_RESET action from router error handler; remove sole call from mysql_client. Correct comments on parameters for router error handlers.
2015-09-09 08:31:59 +01:00
5350a85e2b
Fix to MXS-356: https://mariadb.atlassian.net/browse/MXS-356
...
Added configurable timeouts for the embedded MySQL connections.
2015-09-08 11:23:35 +03:00
697e108072
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-09-03 18:58:06 +02:00
30cdda48c6
The datadir path is now used as the location where the process specific data directories are created.
2015-09-03 19:30:16 +03:00
506bc422fb
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-09-03 10:08:55 +02:00
28a6ea90c0
Added more details to log output when MaxScale receives a fatal signal.
2015-09-01 10:11:20 +03:00
a711b25fec
Improve user name setting in DCB for persistent connections and to fix bug; change name of session_alloc_dummy to session_set_dummy to be more informative.
2015-08-28 18:20:32 +01:00
9c5f622481
Additional spinlock in random_jkiss. Initial attempt at implementing dummy sessions to provide total consistency - used in mysql_client in relation to authentication - a single static dummy session is used and linked from the client dcb when authentication is not yet complete.
2015-08-28 15:30:06 +01:00
a591b47b9f
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-08-28 16:09:32 +02:00
3a901bfea7
Added automatic configuration of localhost_match_wildcard_host.
2015-08-28 14:55:40 +03:00
c5214bea1b
Cleaned up code and changed function structure.
2015-08-28 12:54:38 +03:00
525daf827a
Service are not started if user permissions are inadequate.
...
Also cleaned up code and error messages.
2015-08-28 12:54:38 +03:00
4da9045da4
Removed redundant function.
2015-08-28 12:54:38 +03:00
94eb1b4eb1
Added service and monitor permission checks.
2015-08-28 12:51:37 +03:00
0c552bab29
Fix to MXS-35: https://mariadb.atlassian.net/browse/MXS-35
...
The parent process now correctly returns the value from the child process.
2015-08-27 14:22:58 +03:00
b66bcbd36c
Correct small mistake
2015-08-26 16:30:08 +01:00
4ec5e3b69d
Change header random.h to random_jkiss.h
2015-08-26 16:18:37 +01:00
820bb4ea00
Avoid name clash - change random to random_jkiss
2015-08-26 16:18:08 +01:00
162db13523
Add actual random number generation code.
2015-08-26 15:43:43 +01:00
85d11436d7
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-08-25 16:10:43 +02:00
b1d6096fa8
Added a check for running MaxScale processes.
2015-08-25 15:20:10 +03:00
12922225b8
Remove redundant DCB state DCB_STATE_FREED, remove obsolete assertion from poll.c, tidy up.
2015-08-25 09:11:44 +01:00
65c42e2d80
Move removal of closing DCB from poll list to the kill zombies processing, rather than immediately on close; modify persistent connections to obtain candidates for the pool from the kill zombies processing to be sure that they really are finished all previous processing.
2015-08-24 16:19:25 +01:00
34bd94fbcd
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-08-20 10:09:32 +02:00
139d4829a9
Further refinement of poll_remove_dcb function to ensure proper delayed release of a DCB that may be in the poll list and should only be destroyed after all threads have completed any operations on it; add comments describing implementation limitations in the bitmask processing.
2015-08-20 06:58:05 +01:00
1989b7eaa7
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-08-10 17:57:32 +02:00
37ea3a6224
Fixed error on bad log directory.
2015-08-10 18:25:46 +03:00
0abcf349ff
Partial merge of MXS-70
2015-08-10 17:33:40 +03:00