c0d2a12990
First step to refactoring monitors.
2015-03-10 12:24:23 +02:00
65465b11f5
Fix possible NULL to atoi
...
Fix possible NULL to atoi
2015-03-09 18:19:25 +01:00
7af2843bcb
Notification Service integration added
...
Notification Service integration added
2015-03-09 18:06:16 +01:00
59245b50dd
Fixed compiler warning
...
Fixed compiler warning
2015-03-09 17:49:15 +01:00
e5283397e7
Merge branch 'MAX-348' of https://github.com/mariadb-corporation/MaxScale into MAX-348
2015-03-09 14:19:10 +02:00
02e742f29e
Added unit test for feedback service.
2015-03-09 14:17:40 +02:00
af388a26b6
Feedback report frequency set to 1800 seconds
...
Feedback report frequency set to 1800 seconds
2015-03-09 11:05:48 +01:00
6a64457255
Fix compiler warning
...
Fix compiler warning
2015-03-09 09:21:59 +01:00
e952db0ee9
Notification server integration
...
Notification server integration: added proper logging to errors
Added “enable/disable feedback” via maxadmin/telnet
2015-03-05 18:58:07 +01:00
698af9d3b7
Send modules list into to Notification server
...
Send modules list into to Notification server
TODO: remove fprintf in module_feedback_send and use log manager
instead
2015-03-05 13:20:22 +01:00
880adca73e
Merge branch 'develop' into MAX-324
2015-03-05 10:45:48 +02:00
0dd63ceaf1
Added release version string function to config.c
2015-03-04 18:48:38 +02:00
7427afeb65
Added configuration parameters
...
Added configuration parameters and feedback_setup_info creation
2015-03-03 10:25:44 +01:00
64c0b7b041
Notification service support
...
Notification service support
2015-03-02 17:15:31 +01:00
ad49c5f402
Added optional millisecond precision to logfiles and created the changelog document.
2015-02-24 18:10:16 +02:00
3b29e1a1f0
Fixed merging conflicts.
2015-02-24 06:34:22 +02:00
9e7afeb302
Merge branch 'develop' into MAX-324
...
Conflicts:
macros.cmake
server/core/config.c
server/core/service.c
server/modules/routing/CMakeLists.txt
2015-02-24 06:26:55 +02:00
5477cdf5eb
Renamed the dbshard module to schemarouter.
2015-02-24 05:49:38 +02:00
c47d2f3791
Added session timeouts.
...
The parameter 'connection_timeout' for services takes a value as seconds.
All sessions that have been idle for longer than this will be disconnected.
2015-02-20 22:16:43 +02:00
fc969acc73
Added optional stripping of escape characters from database names when laoding users.
2015-02-20 21:07:12 +02:00
ea55572ab8
Merge branch 'develop' into MAX-324
2015-02-20 04:45:48 +02:00
65e2572ad0
Made config_truth_value non-static.
2015-02-18 13:16:06 +02:00
03456b931b
Added "yes" and "no" to the config truth value check and added the function to the header.
2015-02-18 11:45:01 +02:00
46ec9abe29
Added optional parameters for services that allow all servers to be used when building the list of users.
2015-02-09 07:19:13 +02:00
8791cc455e
Added the initial implementation of the shardrouter module.
2015-01-23 06:40:30 +02:00
fed828eb29
Merge branch 'release-1.0GA' into MAX-324
...
Conflicts:
server/MaxScale_template.cnf
server/core/service.c
2015-01-06 04:45:30 +02:00
f861d67b7f
Removed all references to use_sql_variables_in variable where it is used in dbshard.
...
Commented out dead code.
Fixed some indentations.
2014-12-16 14:14:57 +02:00
69e131e9c4
Merge branch 'MAX-324' of https://github.com/mariadb-corporation/MaxScale into MAX-324
2014-12-15 22:10:36 +02:00
7fed679f40
poll.c:poll_add_event_to_dcb did not increase the pollStats.evq_pending counter which caused it to go negative, which, inturn caused all threads to spinloop with minimal timeout.
2014-12-15 22:09:23 +02:00
319b9150dc
Fixed missing ignore_databases causing a false warning.
2014-12-15 16:24:18 +02:00
a91845b324
Re-enabled the ignore list, it uses the parameter 'ignore databases=<list of db names>'.
...
Added routing of trivial queries and ignored databases to the first available backend.
2014-12-13 07:47:46 +02:00
2a623c6ec3
Fixed a typo in config.c
2014-12-10 18:05:58 +02:00
bc104c0ef1
Merge branch 'release-1.0GA' into MAX-324
2014-12-08 22:37:15 +02:00
4c1ed65617
Added dbshard template to MaxScale_template.cnf
...
Added NULL-check to createInstance to avoid NULL-pointer reference if user/pwd is missing from config.
Removed unnecessary code, added error messages, fixed intendation.
2014-12-07 23:34:47 +02:00
1e5bc37780
Use strtok_r rather than strtok
2014-12-03 09:33:55 +00:00
d3c8770852
Merge branch 'blr' into develop
...
Conflicts:
client/maxadmin.c
server/core/CMakeLists.txt
server/core/dcb.c
server/core/gateway.c
server/core/poll.c
server/core/test/CMakeLists.txt
server/core/test/makefile
server/include/poll.h
server/modules/routing/debugcmd.c
2014-11-19 12:00:55 +00:00
fd11e6a7f5
Session-specific logging. Added functions
...
void session_enable_log(SESSION* ses, logfile_id_t id)
and
void session_disable_log(SESSION* ses, logfile_id_t id)
Which switch specific log type on/off if the log type in question is not generally enabled.
Each thread carries a thread-specific struct log_info_t which includes members for current session id and bitfield for enabled log types for the current session. That information is checked before actual log write functions are called.
Each file where session-specific logging is used, must include the following exports:
/** Defined in log_manager.cc */
extern int lm_enabled_logfiles_bitmask;
extern size_t log_ses_count[];
extern __thread log_info_t tls_log_info;
2014-11-19 00:08:59 +02:00
9cb2be9605
Fixes to Coverity erros 75748 and 76132.
2014-11-11 13:42:12 +02:00
39cc701b0d
Branch update
...
Branch update
2014-11-07 16:59:01 +01:00
3b982ae820
Added monitor timeouts for connect/read/write
...
Added monitor timeouts for connect/read/write
2014-11-07 16:45:06 +01:00
a4caac55c8
Fixes to Coverity errors:
...
72662
72702
72724
73397
73410
73414
73422
75424
75748
75789
75938
75939
Also includes a fix to a bug caused by a previous Coverity error change in canonizer.c
2014-11-07 11:52:40 +02:00
474f018cee
Fixes to minor Coverity errors:
...
75424
73422
72724
72702
72662
2014-11-07 11:12:26 +02:00
17f87e29af
Fixes to some Coverity issues.
2014-11-05 11:57:42 +02:00
6f22975e6c
Added 'disable_master_failback' monitor option
...
Added 'disable_master_failback' option in Galera monitor
2014-10-30 19:03:07 +01:00
e729a17fd4
Addition of new tuning parameters for epoll spins and wait time
2014-10-17 12:28:27 +01:00
4acd85cf82
Add missing trim() call to the server list code for monitors
2014-10-15 13:26:00 +01:00
ebb3b52fdb
Included the my_config.h header before any system headers if mysql headers were used.
2014-10-10 12:30:21 +03:00
e17607b0d3
Minor changes to tests; fix typo; tidy up.
2014-10-03 17:24:46 +01:00
b0683d9b4d
Updated the licensing year from 2013 to 2013-2014
2014-10-01 14:37:12 +03:00
f4e591e382
Changed 'SkySQL Gateway' to 'MariaDB Corporation MaxScale'
2014-09-30 13:15:03 +03:00