Commit Graph

631 Commits

Author SHA1 Message Date
674b3887c9 MXS-1301: function matches functionless queries in accept mode
A function type rule matches a query if the query uses a function defined
in the rule. This is the desired behavior for blacklist mode operation
with `action=block`.

When in whitelist mode, all queries must match a rule to be allowed
through. For function type rules, this fact is problematic as queries that
don't use functions are blocked. The desired behavior is to allow the use
of certain functions while preventing the use of others.

The allowed set of functions should always contain the "empty set" (no
functions are used) when the filter is in whitelist mode.
2017-06-30 11:07:18 +03:00
6cd6ded3d8 Merge branch '2.1-oracle-compat' into develop-new-merge-oracle 2017-06-29 09:39:55 +02:00
92d9356968 Update release notes, change log and upgrading 2017-06-28 12:13:10 +02:00
77f44ba92b Add missing match/exclude functionality to tee
The tee filter was missing the match/exclude functionality that was in the
previous implementation. The filter was upgraded to use PCRE2 regular
expressions instead of POSIX regular expressions.

Documented that the match/exclude patterns should use PCRE2 syntax.
2017-06-22 10:39:24 +03:00
9058b89c28 Update Release Notes and Configuration Guide on MXS_MODULE_PARAM_REGEX
Also added a new Upgrading-To-file with a note on the change.
2017-06-15 15:38:45 +03:00
fa99b97dbd MXS-1267: Add note about tee filter in release notes
The release notes now mention that the tee filter has been rewritten and
it requires some extra configuration.
2017-06-06 15:49:51 +03:00
457fc80647 Merge branch '2.1' into develop 2017-06-05 13:25:27 +03:00
372f77611b Update release date 2017-05-31 11:20:38 +03:00
1bd3402298 Update release date 2017-05-31 11:20:38 +03:00
92b6caa334 Merge branch '2.1' into develop 2017-05-26 15:25:04 +03:00
3401608329 Update release notes 2017-05-19 10:07:10 +03:00
322983a5f4 Merge branch '2.1' into develop 2017-05-17 13:48:52 +03:00
c2879cc52f Update release notes and limitations regarding the KILL-command support 2017-05-11 10:07:28 +03:00
598fc485ee Update release notes 2017-05-08 15:47:56 +03:00
47c1e9d533 MXS-1220: Deprecate whitespace in object names
All whitespace in object names is now converted to a compacted format with
whitespace replaced with hyphens. If a conversion takes place, a warning
is logged.

Converted some of the tests into C++ as they directly include .cc files.
2017-05-04 09:12:15 +03:00
46da2d3ad2 Add entry on proxy protocol to release notes 2017-05-02 10:07:30 +03:00
deb11ae6eb Merge branch '2.1' into develop 2017-04-27 09:11:02 +03:00
d7e37b94ce Add notes on MariaDB 10.2 2017-04-21 12:09:03 +03:00
0f7b29f8bf Add 2.1.3 release notes 2017-04-20 16:03:41 +03:00
ad1c05b015 Merge branch '2.1' into develop 2017-04-05 11:35:13 +03:00
cbc1e864d9 Use RFC 3986 compliant addresses in log messages
When log messages are written with both address and port information, IPv6
addresses can cause confusion if the normal address:port formatting is
used. The RFC 3986 suggests that all IPv6 addresses are expressed as a
bracket enclosed address optionally followed by the port that is separate
from the address by a colon.

In practice, the "all interfaces" address and port number 3306 can be
written in IPv4 numbers-and-dots notation as 0.0.0.0:3306 and in IPv6
notation as [::]:3306. Using the latter format in log messages keeps the
output consistent with all types of addresses.

The details of the standard can be found at the following addresses:

     https://www.ietf.org/rfc/rfc3986.txt

     https://www.rfc-editor.org/std/std66.txt
2017-03-31 14:12:58 +03:00
3f62ea2c41 Update MaxAdmin documentation and release notes
This is mostly about MaxAdmin file load removal. Also added a note on
NamedServerFilter and MaxAdmin editing mode changes.
2017-03-30 14:33:34 +03:00
710012ac5d MXS-827: Add connection keepalive
The readwritesplit now sends COM_PING queries to backend servers that have
been idle for too long. The option is configured with the
`connection_keepalive` parameter.
2017-03-26 13:57:25 +03:00
7bd05d4581 Merge branch '2.1' into develop 2017-03-22 15:20:21 +02:00
a500bd4d79 Merge branch '2.1.1' into 2.1 2017-03-20 09:47:40 +02:00
6868c87598 Remove all but 2.1 release notes from 2.1 branch 2017-03-20 09:45:13 +02:00
f350b58509 Remove all but 2.0 release notes from 2.0 branch 2017-03-20 09:44:08 +02:00
ed06b6a331 The cache storage storage_inmemory is now the default 2017-03-17 13:45:55 +02:00
85b8a963bd Document mysqlmon server state backup
The functionality is now documented in the MySQL Monitor documentation.
2017-03-17 11:29:05 +02:00
78b6b4d4e4 Add MXS-1032 to the release notes
Added MXS-1032 to the rease notes.
2017-03-15 09:11:18 +02:00
2bcb57365b Update 2.1.1 release date 2017-03-14 12:51:26 +02:00
e1165a85bb Update 2.1.1 release date 2017-03-14 12:38:11 +02:00
8c7618035b Merge branch '2.1' into develop 2017-03-14 10:45:25 +02:00
fbcd25342c Add 2.1.2 release notes
Created release notes for 2.1.2 and added the new features into it. Also
updated the MySQLAuth limitations in the limitations document.
2017-03-14 10:11:57 +02:00
147a1f88eb Merge branch '2.1-ipv6' into develop 2017-03-13 13:18:08 +02:00
4f03c53bdf Update 2.1.1 release notes 2017-03-09 10:10:34 +02:00
415001a4cd Merge branch '2.1' into develop 2017-03-09 10:02:36 +02:00
d7e48f93bb NamedServerFilter PCRE2 matching and refactoring
Change to modutil_extract_SQL(), add pcre2_data to filter session.
The pattern is now jit-compiled for maximum speed. Move general
pcre2 error printing to a function and macro. Add instance-level
statistics so the filter always prints diagnostic info. Add a mention
of PCRE2 to release notes.
2017-03-08 14:01:38 +02:00
25350d6a08 Update change log and release notes 2017-03-08 13:28:13 +02:00
a6ae60c808 Merge branch '2.0' into 2.1 2017-03-07 11:45:49 +02:00
60c69d0f7f Update change log and release notes for 2.0.5 2017-03-07 10:33:50 +02:00
b3e8ea9b5a Merge branch '2.1' into develop 2017-03-03 13:37:14 +02:00
82049b8ed1 Use cache as long as a trx only performes reads
As before, the cache will be used if there is no ongoing transaction
(includes autocommit being on), or if there is an explicitly read-
only transaction.

In addition, the cache will be used and populated during any other
transaction as long as only pure read statements are executed. After
first non-read statement, the use of the cache is disabled.
2017-03-01 11:08:52 +02:00
ef28808967 Update release notes for 2.1.1
Session specific logging levels removed.
2017-02-27 14:47:44 +02:00
cb380d09f8 Deprecate session specific log priorities
They are not particularly useful, they surely are not used
and impose a small cost for every event extracted from the
poll sets.

This commit only removes the maxadmin commands, subsequent
commits will remove the actual code.
2017-02-27 14:40:11 +02:00
482977dc5e Update 2.2 release notes
Added avrorouter deflate support to release notes.
2017-02-27 09:28:50 +02:00
1d8d526a01 Merge branch '2.1' into develop 2017-02-20 18:39:41 +02:00
44661036d8 Add 2.1.1 release notes
Added MaxScale 2.1.1 release notes.
2017-02-20 12:42:11 +02:00
7a6c38bd13 Merge branch '2.1' into develop 2017-02-16 11:10:11 +02:00
a023e6ed05 Update date in 2.1.0 release notes. 2017-02-16 10:55:57 +02:00