Commit Graph

  • fb4f74ed61 Changed 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
  • 2bfa8abd2a Fix for ifdef rather than if in SPINLOCK_PROFILE Mark Riddoch 2014-09-15 09:19:15 +01:00
  • bc320d1514 Cannot compile VilhoRaatikka 2014-09-15 11:09:12 +03:00
  • c6384f2bcc Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh VilhoRaatikka 2014-09-15 10:35:44 +03:00
  • c7bf6b66bf Fix to #492, http://bugs.skysql.com/show_bug.cgi?id=492 Added comments VilhoRaatikka 2014-09-15 10:34:42 +03:00
  • 066b58afb0 Turn off spinlock profiling Mark Riddoch 2014-09-15 08:05:47 +01:00
  • 4c41dea6fb Merge branch 'release-1.0beta-refresh' into cmake_build Markus Makela 2014-09-15 09:43:24 +03:00
  • 0f07c9f08c Added 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
  • c2847c7ddb Clean up. VilhoRaatikka 2014-09-14 10:17:09 +03:00
  • 5d26cf6fd5 Added 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
  • 8e5d852dde Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh VilhoRaatikka 2014-09-13 21:29:36 +03:00
  • 2012dfdd35 Fix 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
  • df7590c167 Fixed 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
  • 155efe0dc5 Added more status messages to configuration and a switch to control system file installing Markus Makela 2014-09-13 14:57:17 +03:00
  • bc49b6a901 CPack configurations updated to better match expected values Markus Makela 2014-09-13 04:13:25 +03:00
  • 9fd7facaa7 Merge 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
  • 440f88491b Fixed missue \n in list servers command Mark Riddoch 2014-09-12 17:32:31 +01:00
  • 7b115fed2b merge branch MAX-252 for bug-524 MassimilianoPinto 2014-09-12 17:41:37 +02:00
  • acdc2968c7 Added LogFile entry for failed match MassimilianoPinto 2014-09-12 17:34:13 +02:00
  • 7108add6f5 code cleanup localhost_match_wildcard_host MassimilianoPinto 2014-09-12 17:21:34 +02:00
  • d8d8232f9a Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh VilhoRaatikka 2014-09-12 18:13:09 +03:00
  • 5a28a73fcb gwbuf_append's return value wasn't read in gw_read_client_event VilhoRaatikka 2014-09-12 18:10:42 +03:00
  • 46c4808c79 Bug 494 - remove error log report for missing servers for debugcli and cli router Mark Riddoch 2014-09-12 15:45:10 +01:00
  • bfa92e6776 Merge branch 'release-1.0beta-refresh' of github.com:skysql/MaxScale into release-1.0beta-refresh Mark Riddoch 2014-09-12 15:31:01 +01:00
  • 3dcecc2d77 Fix for bug 539 Mark Riddoch 2014-09-12 15:29:48 +01:00
  • 8818f23176 Added localhost_match_wildcard_host parameter MassimilianoPinto 2014-09-12 16:24:55 +02:00
  • 3bb614d9eb brand release-1.0beta-refresh merged MassimilianoPinto 2014-09-12 16:00:36 +02:00
  • 32b72ce474 more configuration options, README update and tests Markus Makela 2014-09-12 16:48:21 +03:00
  • ffc7e7aa10 Fix for server_string memory leak MassimilianoPinto 2014-09-12 15:36:22 +02:00
  • 7069ee2549 Added 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
  • e618adb930 Merge branch 'release-1.0beta-refresh' of https://github.com/skysql/MaxScale into release-1.0beta-refresh VilhoRaatikka 2014-09-12 14:11:29 +03:00
  • ba9a31497e cleaning up of main CMakeListst.txt Markus Makela 2014-09-12 11:21:05 +03:00
  • 175b387eb7 added the macro file Markus Makela 2014-09-12 11:18:44 +03:00
  • d1b4852d29 Addition of server "Auth Error" status Mark Riddoch 2014-09-12 08:55:32 +01:00
  • aa41e6e2b7 Merge branch 'release-1.0beta' into release-1.0beta-refresh Mark Riddoch 2014-09-12 07:52:10 +01:00
  • 231b146645 Fix memory leak in filter support Mark Riddoch 2014-09-12 07:50:01 +01:00
  • f0641dc39e added readwritesplit tests Markus Makela 2014-09-12 07:30:25 +03:00
  • d8c34aabad added log manager and query classifier tests Markus Makela 2014-09-12 06:06:11 +03:00
  • 8697b97617 added missing linker flags Markus Makela 2014-09-11 22:14:17 +03:00
  • 8962fec0cf added post install ldconfig call Markus Makela 2014-09-11 22:04:57 +03:00
  • 11a7c0d6b6 added gcov and static embedded library flags Markus Makela 2014-09-11 21:50:59 +03:00
  • dc92dbd374 added CPack and RPM packaging Markus Makela 2014-09-11 20:30:49 +03:00
  • 00449dfd48 added the missing version.h template file Markus Makela 2014-09-11 20:19:10 +03:00
  • 7a069ecdf7 added core tests to cmake Markus Makela 2014-09-11 20:08:28 +03:00
  • 19ca28d8bd added preliminary testing framework Markus Makela 2014-09-11 18:58:03 +03:00
  • b3ce971020 initial implementation of the CMake build system Markus Makela 2014-09-11 18:24:41 +03:00
  • 30c52677b0 buffer.c:gwbuf_consume: rval may also be NULL, thus, added that to assert condition. VilhoRaatikka 2014-09-11 15:27:31 +03:00
  • 0a468a910b Makefile modifications MassimilianoPinto 2014-09-11 13:10:02 +02:00
  • 8b5b4a17fe Merge from Z3 MassimilianoPinto 2014-09-11 12:51:16 +02:00
  • 7245d1baa1 blr branch merge MassimilianoPinto 2014-09-11 12:20:42 +02:00
  • 190c05da5f Merge branch 'develop' into release-1.0beta-refresh MassimilianoPinto 2014-09-11 12:17:29 +02:00
  • 27e0ccd641 Fix for bug 447 - Error log flooded with same warnings if there are no slaves present Mark Riddoch 2014-09-11 11:03:53 +01:00
  • 1154b25bff Fixed typo which made use_sql_variables_in paramter ineffective. VilhoRaatikka 2014-09-10 21:20:12 +03:00
  • f15815c6bb New service parameter localhost_match_any MassimilianoPinto 2014-09-10 17:12:25 +02:00
  • f9aece5113 Remove queuing that is no longer required Mark Riddoch 2014-09-10 15:51:53 +01:00
  • cadd738c45 Merge branch 'Z3' of https://github.com/skysql/MaxScale into Z3 VilhoRaatikka 2014-09-10 17:37:00 +03:00
  • 65ec5c54ad Merge pull request #43 from skysql/log_manager_test Vilho Raatikka 2014-09-10 17:25:19 +03:00
  • 11166e2f08 Merge pull request #44 from skysql/hint_bugfix Vilho Raatikka 2014-09-10 17:24:26 +03:00
  • 6196dfb050 fix to bug 475 Markus Makela 2014-09-10 16:18:47 +03:00
  • d35a73478e Added the actual output of log entry tests to the testing log. Markus Makela 2014-09-10 14:03:57 +03:00
  • aceae1c32b Removed 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
  • f0bed1a8cc Merge branch 'Z3' into log_manager_test Markus Makela 2014-09-10 12:14:54 +03:00
  • 4028c50fea added state based block buffers to log manager Markus Makela 2014-09-10 12:09:00 +03:00
  • ad6e4d55cb Replaced 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
  • 025f920ddb Replaced 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
  • 344fcfa9ea Jira bug MAX-248 File descriptor leak in secrets key reading Mark Riddoch 2014-09-10 08:06:48 +01:00
  • 3f12b18055 Merge branch 'Z3' of https://github.com/skysql/MaxScale into Z3 VilhoRaatikka 2014-09-09 14:35:41 +03:00
  • 4665f862d5 Fixed 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
  • 28921e0856 Merge branch 'hholzgra-hartmut-dateformat' into release-1.0beta Mark Riddoch 2014-09-09 12:02:07 +01:00
  • cb7a64e1f2 Merge branch 'hartmut-dateformat' of https://github.com/hholzgra/MaxScale into hholzgra-hartmut-dateformat Mark Riddoch 2014-09-09 12:01:43 +01:00
  • 7eac7c0c08 Merge branch 'hholzgra-hartmut-segfault-handler' into release-1.0beta Mark Riddoch 2014-09-09 11:49:34 +01:00
  • 79e3f93c2d Merge branch 'hartmut-segfault-handler' of https://github.com/hholzgra/MaxScale into hholzgra-hartmut-segfault-handler Mark Riddoch 2014-09-09 11:48:32 +01:00
  • 59251ec878 added 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
  • e74da1c630 Added chmod 0777 for unix sockets MassimilianoPinto 2014-09-09 10:00:41 +02:00
  • 6a61e40978 Removed include which was added autonomously by KDevelop. VilhoRaatikka 2014-09-09 10:57:17 +03:00
  • ae9d38025e Merge branch 'Z3' into log_manager_test Markus Makela 2014-09-09 10:50:50 +03:00
  • 950c30e065 Fix bug 528 - wrong service name in tee fitler crashes MaxScale Mark Riddoch 2014-09-09 08:50:15 +01:00
  • aa83b6b21a Changed the way blockbuffers are used after they fill up. Markus Makela 2014-09-09 10:44:20 +03:00
  • d77b9f4de3 server/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
  • 62520d9b1f Added 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
  • 1ac3455b31 Added 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
  • ba6ad3e240 Added 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
  • 52b347ac07 readwritesplit.c:Fixed macro which excludes a block from compiled code. VilhoRaatikka 2014-09-08 21:53:33 +03:00
  • f74493d922 server/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
  • 2097b54c35 More debugging info Markus Makela 2014-09-08 14:49:52 +03:00
  • d7439b67c5 Added log order scripts and more debug output Markus Makela 2014-09-08 10:40:23 +03:00
  • 92889ad216 config.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
  • d799331c50 Added 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
  • b8d7c3df9f Merge branch 'Z3' of https://github.com/skysql/MaxScale into Z3 VilhoRaatikka 2014-09-05 20:54:04 +03:00
  • a986f17437 Merge branch 'Z3' of https://github.com/skysql/MaxScale into Z3 VilhoRaatikka 2014-09-05 20:53:31 +03:00
  • c273988e51 Fixed for EPOLLHUP events Mark Riddoch 2014-09-05 17:29:17 +01:00
  • ee63b042b7 use ISO-8601 format for date part in log message timestamp Hartmut Holzgraefe 2014-09-05 16:51:38 +02:00
  • 4a9fb47699 fixed a division by zero error and enabled non-flush mode Markus Makela 2014-09-05 17:28:32 +03:00
  • bfac227f4d tests for log manager write order Markus Makela 2014-09-05 17:24:26 +03:00
  • 3872c2dd47 add librabbitmq-devel to BuildRequires Timofey Turenko 2014-09-05 12:28:17 +03:00
  • 7b7fc74cfa RabbitMQ filter is now built by default and can be disabled with BUILD_RABBITMQ=N Markus Makela 2014-09-05 12:00:48 +03:00
  • aafc891c9a Fixed canonical query test and mqfilter.c bugs Markus Makela 2014-09-05 10:58:54 +03:00
  • c41a1ffe05 version.h is generated before entering any of the subdirectories. VilhoRaatikka 2014-09-04 21:01:25 +03:00
  • 3fdfab076d Documentation update MassimilianoPinto 2014-09-04 17:41:50 +02:00
  • c7725164d0 Documentation update MassimilianoPinto 2014-09-04 17:41:50 +02:00