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
75e8033052
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-10-19 09:36:04 +02: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
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
6fe8082445
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-09-09 10:20:25 +02: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
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
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
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
9f9b63485a
Merge branch 'develop' into 1.2.1-binlog_router_trx
2015-08-07 21:20:32 +02:00
710cfbd6c5
Fixed custom directory locations not working.
2015-08-07 19:22:26 +03:00
61c47375d5
Merge branch 'develop' into 1.2.1-binlog_router
...
Conflicts:
server/core/server.c
server/include/server.h
server/modules/include/blr.h
server/modules/routing/binlog/blr.c
server/modules/routing/binlog/blr_file.c
server/modules/routing/binlog/blr_master.c
server/modules/routing/binlog/blr_slave.c
2015-08-04 07:59:44 -04:00
100f8ebd66
Removed unnecessary memory allocation.
2015-08-03 20:02:13 +03:00
c33f1199d9
Fix lack of declaration for session_unlink_dcb; restructure dcb closedown logic to fix counting problem and reduce code.
2015-07-21 09:54:01 +01:00
4f5de063eb
Merged dcb_read and dcb_read_n into a single function (dcb_read with an extra parameter).
2015-07-10 15:12:22 +01:00
8376bbf3e6
Fix mismatch of int sizes; move calculation of maximum size of persistent pool to a better location.
2015-07-09 08:37:20 +01:00
ce879b65c2
Fix wrong debug message; add maxadmin info for actual max size of persistent pool.
2015-07-08 16:03:50 +01:00
ba417ef633
Merge remote-tracking branch 'origin/develop' into MXS-122
...
Conflicts:
server/core/dcb.c
2015-07-08 14:54:22 +01:00
fffd8fb73a
Unify DCB close processing to single function dcb_close. Remove dcb_add_to_zombieslist (incorporating logic into dcb_close). Alter logic so that DCB that is just allocated will still go to zombie list if dcb->fd is not closed.
2015-07-07 16:57:12 +01:00
18a95eeb71
Simplify adding and removing DCBs from polling, improve error handling. Remove dcb_set_state functions as not adding value.
2015-07-07 16:57:12 +01:00
a72f462e2d
Fixes for MXS-196 and other related problems.
2015-07-07 16:57:12 +01:00
0062d9d2b7
Version errors for SHOW SLAVE STATUS now only print once.
2015-06-29 10:24:16 +03:00
80709ce039
Fixed compile errors for older SSL libraries.
2015-06-25 16:46:26 +03:00
09fdb0a2c2
Hopefully final tidy up.
2015-06-23 14:58:53 +01:00
0c98a318dd
Try to get atomic.h included correctly for C++
2015-06-22 12:13:28 +01:00
b880350cf3
Complete merge of latest develop branch
2015-06-22 10:39:13 +01:00