fb4f74ed61Changed SPINLOCK_PROFILE back to #if so that defining SPINLOC_PROFILE 0 turns off the profilign of spinlocks
Mark Riddoch
2014-09-15 09:38:58 +01:00
2bfa8abd2aFix for ifdef rather than if in SPINLOCK_PROFILE
Mark Riddoch
2014-09-15 09:19:15 +01:00
066b58afb0Turn off spinlock profiling
Mark Riddoch
2014-09-15 08:05:47 +01:00
4c41dea6fbMerge branch 'release-1.0beta-refresh' into cmake_build
Markus Makela
2014-09-15 09:43:24 +03:00
0f07c9f08cAdded hint tests Fixed readwritesplit tests looking for test input in the wrong directory Updated the canonical query test expected output
Markus Makela
2014-09-15 09:27:47 +03:00
5d26cf6fd5Added optional RabbitMQ component configuration Changed all the configuration variables to cached Fixed some errors in tests
Markus Makela
2014-09-14 07:30:41 +03:00
2012dfdd35Fix to bug #541, http://bugs.skysql.com/show_bug.cgi?id=541 Long ~0.5MB queries blocked MaxScale. mysql_client.c:gw_read_client_event: Fixed packet reading logic. Reading didn't work when packet exceeded read buffer size. mysql_common.c:gw_MySQL_get_next_packet: number of bytes to be copied to continuous buffer was calculated wrong, thus resulting in broken packet. readwritesplit.c:disabled creation of canonical query in debug build because it slows down the processing too much with long queries
VilhoRaatikka
2014-09-13 21:16:44 +03:00
df7590c167Fixed INSTALL_SYSTEM_FILES failing if it was set to some other false value than 'N'
Markus Makela
2014-09-13 15:04:10 +03:00
155efe0dc5Added more status messages to configuration and a switch to control system file installing
Markus Makela
2014-09-13 14:57:17 +03:00
bc49b6a901CPack configurations updated to better match expected values
Markus Makela
2014-09-13 04:13:25 +03:00
9fd7facaa7Merge branch 'release-1.0beta-refresh' of github.com:skysql/MaxScale into release-1.0beta-refresh
Mark Riddoch
2014-09-12 17:33:06 +01:00
440f88491bFixed missue \n in list servers command
Mark Riddoch
2014-09-12 17:32:31 +01:00
7b115fed2bmerge branch MAX-252 for bug-524
MassimilianoPinto
2014-09-12 17:41:37 +02:00
acdc2968c7Added LogFile entry for failed match
MassimilianoPinto
2014-09-12 17:34:13 +02:00
32b72ce474more configuration options, README update and tests
Markus Makela
2014-09-12 16:48:21 +03:00
ffc7e7aa10Fix for server_string memory leak
MassimilianoPinto
2014-09-12 15:36:22 +02:00
7069ee2549Added checks to determine if servers in the servers= lists for services and monitors exist in the configuration file.
Mark Riddoch
2014-09-12 12:16:39 +01:00
65ec5c54adMerge pull request #43 from skysql/log_manager_test
Vilho Raatikka
2014-09-10 17:25:19 +03:00
11166e2f08Merge pull request #44 from skysql/hint_bugfix
Vilho Raatikka
2014-09-10 17:24:26 +03:00
6196dfb050fix to bug 475
Markus Makela
2014-09-10 16:18:47 +03:00
d35a73478eAdded the actual output of log entry tests to the testing log.
Markus Makela
2014-09-10 14:03:57 +03:00
aceae1c32bRemoved the debug tags from log entries in standard debug builds and added a special switch to the tests
Markus Makela
2014-09-10 12:58:11 +03:00
f0bed1a8ccMerge branch 'Z3' into log_manager_test
Markus Makela
2014-09-10 12:14:54 +03:00
4028c50feaadded state based block buffers to log manager
Markus Makela
2014-09-10 12:09:00 +03:00
ad6e4d55cbReplaced RWSplit parameters write_ses_variables_to_all and read_ses_variables_from_slaves with use_sql_variables_in=[master|all] (default all) Modified MaxScale Configuration And Usage Scenarios-Z3.pdf and MaxScale_template.cnf accordingly. Fixed typo in server/modules/routing/readwritesplit/test/rwsplit.sh
VilhoRaatikka
2014-09-10 11:32:53 +03:00
025f920ddbReplaced RWSplit parameters write_ses_variables_to_all and read_ses_variables_from_slaves with use_sql_variables_in=[master|all] (default all) Modified MaxScale Configuration And Usage Scenarios-Z3.pdf and MaxScale_template.cnf accordingly. Fixed typo in server/modules/routing/readwritesplit/test/rwsplit.sh
VilhoRaatikka
2014-09-10 11:32:53 +03:00
344fcfa9eaJira bug MAX-248 File descriptor leak in secrets key reading
Mark Riddoch
2014-09-10 08:06:48 +01:00
4665f862d5Fixed handling of temporary table reads which also used user- or system variables. Temporary table handling rules have precedence over others.
VilhoRaatikka
2014-09-09 14:34:08 +03:00
28921e0856Merge branch 'hholzgra-hartmut-dateformat' into release-1.0beta
Mark Riddoch
2014-09-09 12:02:07 +01:00
59251ec878added signal handler for fatal signals like SIGSEGV that tries to write a call trace to error log (or if that fails to stderr) before triggering a core dump
Hartmut Holzgraefe
2014-09-09 11:44:47 +02:00
e74da1c630Added chmod 0777 for unix sockets
MassimilianoPinto
2014-09-09 10:00:41 +02:00
6a61e40978Removed include which was added autonomously by KDevelop.
VilhoRaatikka
2014-09-09 10:57:17 +03:00
ae9d38025eMerge branch 'Z3' into log_manager_test
Markus Makela
2014-09-09 10:50:50 +03:00
950c30e065Fix bug 528 - wrong service name in tee fitler crashes MaxScale
Mark Riddoch
2014-09-09 08:50:15 +01:00
aa83b6b21aChanged the way blockbuffers are used after they fill up.
Markus Makela
2014-09-09 10:44:20 +03:00
d77b9f4de3server/core/test/makefile and server/modules/filter/Makefile: Added path to libmysqld (-L<path>) so that linker finds it at compile time. server/test/MaxScale_template.cnf: added write_ses_variables_to_all=Yes and read_ses_variables_from_slaves=Yes so that tests included in testall target succeed (at server/modules/routing/readwritesplit/test). Added hint filter to 'normal' rwsplit service.
VilhoRaatikka
2014-09-09 09:36:24 +03:00
62520d9b1fAdded example of new parameters, read_ses_variables_from_slaves and write_ses_variables_to_all to MaxScale_template.cnf
VilhoRaatikka
2014-09-08 22:21:58 +03:00
1ac3455b31Added description of new rwsplit variables, read_ses_variables_from_slaves and write_ses_variables_to_all to Configuration document. Added description of new rwsplit variables, read_ses_variables_from_slaves and write_ses_variables_to_all to MaxScale_template.cnf readwritesplit.h:Set default values for write_ses_variables_to_all=true, and read_ses_variables_from_slaves=false
VilhoRaatikka
2014-09-08 22:18:00 +03:00
ba6ad3e240Added description of new rwsplit variables, read_ses_variables_from_slaves and write_ses_variables_to_all to Configuration document. Added description of new rwsplit variables, read_ses_variables_from_slaves and write_ses_variables_to_all to MaxScale_template.cnf readwritesplit.h:Set default values for write_ses_variables_to_all=true, and read_ses_variables_from_slaves=false
VilhoRaatikka
2014-09-08 22:18:00 +03:00
52b347ac07readwritesplit.c:Fixed macro which excludes a block from compiled code.
VilhoRaatikka
2014-09-08 21:53:33 +03:00
f74493d922server/modules/filter/Makefile: Fixed problem which prevented cleaning and compiling hintfilter library. server/core/config.c: Removed unused if..else block from config_get_valint. Changed it also to return value which indicates whether the operation succeed. Added config_get_valbool similar to config_get_valint. service.c:Added typelib-like struct and array of valid boolean values. Fixed parameter type test in service_set_param_value. Completed boolean type parameter handling. hintparser.c:Fixed error message for non-maxscale hints. readwritesplit.c:Added loading of configuration parameters from service to instance and from instance to each new session. Fixed routing condition in get_route_target. Modified get_route_target so that it takes also rw_read_sesvars_from_slaves and rw_write_sesvars_to_all as parameters. skygw_types.h: added array size counting macro.
VilhoRaatikka
2014-09-08 21:44:23 +03:00
2097b54c35More debugging info
Markus Makela
2014-09-08 14:49:52 +03:00
d7439b67c5Added log order scripts and more debug output
Markus Makela
2014-09-08 10:40:23 +03:00
92889ad216config.c: Added configuration parameter processing for read_ses_variables_from_slaves and for write_ses_variables_to_all . The values are read from config file, qualified and stored to service. Values are loaded when instance is created. This is limitation in current implementation and will change so that configuration is dynamically changeable.
VilhoRaatikka
2014-09-07 23:48:16 +03:00
d799331c50Added support for fine-grained query classification which is needed for configurable support for user- and system variable execution. This is partial implementation to task MAX-242. Tests passed with make -C server/modules/routing/readwritesplit/test but this is intermediate commit.
VilhoRaatikka
2014-09-05 22:50:35 +03:00