4940 Commits

Author SHA1 Message Date
Johan Wikman
36144fe3b3 Update 1.4.0 release notes. 2016-03-15 09:37:36 +02:00
Markus Makela
938cf344de Updated Building-MaxScale-from-Source-Code.md
The CMake parameters were out of date.
2016-03-14 08:00:16 +02:00
Markus Makela
d810aa3be0 Fixed connector-c being updated and built after every make invokation
The update step was unnecessary but it was still done which caused the sources
to be updated and built again.
2016-03-11 13:03:21 +02:00
Markus Makela
cea5f24319 Fixed non-MariaDB connectors being used in builds
The FindMariaDBConnector.cmake did not set the MARIADB_CONNECTOR_FOUND
variable to false but instead just removed the definition.
2016-03-11 12:08:19 +02:00
Markus Makela
b9a9b1ebae Updated 1.4.0 release notes
Added GA to the title and mentioned removal of `enabled` mode for SSL.
2016-03-10 10:52:02 +02:00
Markus Makela
fb34d65174 Fixed broken links and spelling errors
One link in an older release note was broken and some of the changes made
in the documentation had introduced spelling mistakes.
2016-03-10 10:06:27 +02:00
Markus Makela
2eda89c21d Changed Jira links to jira.mariadb.org
The old atlassian links point to a read-only version of the Jira.
2016-03-09 17:44:01 +02:00
Markus Makela
ae91fb90cf Added fwfilter new features to documentation
Added user configurable actions and logging options as the new features.
2016-03-09 17:29:27 +02:00
counterpoint
faa6e72ca0 FIX BUG IN CLIENT DCB SHUTDOWN THAT CAN CAUSE CRASHES 2016-03-09 14:32:24 +00:00
Markus Makela
140bd1a3c4 Improved limitations document
Made the wording of the schemarouter limitations more clear.
2016-03-09 15:41:59 +02:00
Markus Makela
5ad11f2aac Fixed Connector-C .cmake files
The files always forced the variables to be updated which caused the library
to be built again every time.
2016-03-09 15:25:27 +02:00
Markus Makela
e2588e3c95 Moved all limitations to Limitations.md
This removes duplicate information and keeps the list of limitations
in a central place.
2016-03-09 15:00:53 +02:00
Johan Wikman
c93d2d37f4 Update 1.4.0 Changelog 2016-03-09 12:56:56 +02:00
Johan Wikman
1309607a69 Update 1.4.0 release notes. 2016-03-09 12:43:24 +02:00
Markus Makela
2b2c047c46 Fixed build failure
There was a CMake call to plugin_process which doesn't exist anymore.
2016-03-09 09:40:01 +02:00
Johan Wikman
c3bacba5ef Remove directory replication_listener
Old stuff, not maintained and not used by anything or anybody.
2016-03-09 09:06:09 +02:00
Johan Wikman
2486baffea Remove directory table_replication_consistency
Old stuff, not maintained, and not used by anything or anybody.
2016-03-09 09:04:23 +02:00
Johan Wikman
edef0a3733 Remove plugin_process. 2016-03-09 08:51:40 +02:00
Johan Wikman
452443f6f8 Remove obsolete "support" directory. 2016-03-08 16:19:25 +02:00
Markus Makela
f18e5460c4 Removed unused service SSL functions
These have been made obsolete by the introduction of listener.c
2016-03-08 15:41:25 +02:00
Markus Makela
60724172a4 Removed support for SSLv3
SSLv3 can't be considered safe anymore so removing the support for it improves
MaxScale's security as a whole.
2016-03-08 15:22:35 +02:00
Markus Makela
18a3aa5e33 Added missing newlines to all files
This caused build errors some systems, namely RHEL 5.
2016-03-08 14:48:17 +02:00
Markus Makela
0e718e5442 Removed FindLua.cmake because it isn't a self-contained module
The FindLua.cmake requires other modules provided by newer CMake installations
so including just this file is not useful. The correct way to fix this
build failure is to update the CMake to a newer version.
2016-03-08 10:35:36 +02:00
Markus Makela
44d9929f3c Updated documentation about new grants required by MaxScale
The documentation now mentions the additional SELECT privileges that are needed
on the `mysql.tables_priv` table.
2016-03-08 10:35:36 +02:00
Markus Makela
fd34cd4014 Fixed luafilter build failures
The luafilter referred to the old session client DCB name and linked against
log_manager and utils but not maxscale-common.
2016-03-08 10:35:36 +02:00
Markus Makela
3973ba36be Simplified tee filter packet handling logic
Inverting the default action of not routing packets to always routing packets
makes the code simpler to understand. Removing some of the not so useful debug
logging also makes the code more readable and easier to understand.
2016-03-07 16:21:48 +02:00
Johan Wikman
7aab966573 Remove mysql prefix.
Now monitor.c includes <mysqld_error.h> and not <mysql/mysqld_error.h>.
The latter can not be found from connector-c.
2016-03-07 16:00:27 +02:00
Johan Wikman
e8c2b27c27 Remove qc_pp
There will not be a plugin process.
2016-03-07 12:19:51 +02:00
Markus Makela
60714135c4 Merge branch 'develop-MXS-544-merge' into develop 2016-03-07 10:17:17 +02:00
Markus Makela
3cbfb6821b Cleaned up SIGTERM and SIGINT handlers
Changed fprintf to write since it is signal safe.
2016-03-07 10:11:50 +02:00
Markus Makela
9b8b7ee576 Added support for system PCRE2
This will allow system PCRE2 to be used instead of always using the bundled one.
2016-03-07 09:24:40 +02:00
Markus Makela
7bae03f3b8 Added missing PCRE link flags to binlogrouter
MariaDB 10.0 might require it to be linked against system PCRE. This will allow
the binlogrouter to be built with MariaDB 10.0 embedded libraries.
2016-03-05 06:23:35 +02:00
Markus Makela
f0956276ae Fixed FindMariaDBConnector.cmake failing even if connector is installed
This will remove the need to build the connector if it already exists as
a system library.
2016-03-05 06:04:36 +02:00
Markus Makela
609912ae90 Fixed readwritesplit server weight calculations
The server weights were ignored for the first connection and servers with a
weight of 0 would get connections if the connection count was high enough.

This fixes the weighting behavior so that when connections are created,
servers with a weight of 0 will be ignored as long as there is a server
with a positive weight available.

With this change, three servers configured with weights 2, 1 and 0 would
get connections balanced in the following way:

weight = 2, 66% of connections
weight = 1, 33% of connections
weight = 0, 0% of connections

If the server with the weight of 2 would go down, the server with the weight
of 1 would get 100% of the connections. If both servers with positive weights
go down, the server with the weight of 0 would be used.
2016-03-04 15:06:24 +02:00
Markus Makela
75eea82fe3 Added Astyle configuration for MaxScale
This will make formatting of source code easier.
2016-03-04 15:00:33 +02:00
Johan Wikman
a86903f3d0 Remove obsolete declarations.
And dummy definitions as well.
2016-03-04 14:10:34 +02:00
counterpoint
768ff24428 Ensure SSL_LISTENER structure is intialised to binary zero when allocated in configuration processing by using calloc instead of malloc. 2016-03-04 11:53:54 +00:00
Johan Wikman
bb4f7bd285 Remove obsolete declarations.
And dummy definitions as well.
2016-03-04 13:10:05 +02:00
Johan Wikman
739fe7039c Use new functions for accessing start- and uptime. 2016-03-04 11:55:47 +02:00
Johan Wikman
b7904bffb0 Expose maxscale starttime.
Maxinfo needs access to the time MaxScale was started.
Now exposed in a way similar to the uptime.
2016-03-04 11:55:47 +02:00
Johan Wikman
5a3d511f44 Use new functions for accessing start- and uptime. 2016-03-04 11:47:12 +02:00
Johan Wikman
51755aae0c Expose maxscale starttime.
Maxinfo needs access to the time MaxScale was started.
Now exposed in a way similar to the uptime.
2016-03-04 11:45:12 +02:00
Markus Makela
9dc55735e7 Missing listeners are treated as warnings instead of errors
Missing listeners are no longer a cause for shutdown.
2016-03-04 10:58:12 +02:00
Markus Makela
dd9f7fbbb7 Fixed rwsplit length calculations for multi-statements
The calculations used the amount of bytes read instead of amount of bytes
available and also read one byte too much.
2016-03-04 09:56:18 +02:00
Johan Wikman
59edee26c6 Fix misses in slavelag.c formatting.
astyle is more thorough.
2016-03-04 09:01:43 +02:00
Johan Wikman
6b4ffc8506 Cleanup slavelag.c
Untabification, indentation, Allman, etc.
2016-03-04 08:43:35 +02:00
Markus Makela
d1837e0e4a Added more error logging and fixed parsing of packets in readwritesplit
Readwritesplit tried to parse COM_PING packets which only have one byte of
payload. This would cause the queries to fail to parsed.
2016-03-04 07:55:03 +02:00
Markus Makela
ab33515282 Fixed undefined servers being ignored
The missing server was logged but it was not considered an error.
2016-03-04 07:06:53 +02:00
Markus Makela
d3da98b58f Merge branch 'MXS-544' into develop-MXS-544-merge 2016-03-03 21:39:39 +02:00
Markus Makela
1a2bd8b234 Added FindLua.cmake from KitWare's repo for CMake 3.4.3
Some platforms did not have the FindLua.cmake file which caused errors on
configuration. Moved the invocation of find_package to the filter CMakeLists.txt
so that it is only called if the luafilter is built.
2016-03-03 16:42:48 +02:00