Johan Wikman
a4a7a52150
Merge branch '2.4.10' into 2.4
2020-06-08 11:40:41 +03:00
Johan Wikman
5793c53916
2.4 Bump maintenance release
2020-06-08 11:40:09 +03:00
Johan Wikman
8799bbbb95
2.4.10 Update release date
2020-06-08 10:50:32 +03:00
Esa Korhonen
098ffde13c
Remove obsolete debug assert from PamAuth
...
Would be always hit in debug mode.
2020-06-05 19:04:44 +03:00
Johan Wikman
7781f7042a
2.4.10 Update change date
2020-06-05 10:21:37 +03:00
Johan Wikman
a1a4834182
2.4.10 Add release notes and update change log
2020-06-05 10:11:26 +03:00
Johan Wikman
5ebae9be90
Merge branch '2.3' into 2.4
2020-06-05 09:36:24 +03:00
Johan Wikman
d78aa39765
Update release date
2020-06-05 09:31:45 +03:00
Johan Wikman
ddb4064563
Fix typo in documentation
2020-06-05 09:31:45 +03:00
Johan Wikman
aa11c960b1
2.3.20 Update change date
2020-06-05 09:31:45 +03:00
Johan Wikman
dcf0442127
2.3.20 Add release notes and update change log
2020-06-05 09:31:44 +03:00
Markus Mäkelä
00e5cbf51c
Merge branch '2.3' into 2.4
2020-06-05 08:36:07 +03:00
Markus Mäkelä
d025f5123e
MXS-3023: Fix ID generator overflow
...
The result must always be non-negative.
2020-06-04 15:31:17 +03:00
Markus Mäkelä
a8c8531bbc
MXS-3021: Add test case for strict
...
Checks that multi-statements are allowed and that rules that match still
cause queries to be blocked.
2020-06-04 08:28:32 +03:00
Markus Mäkelä
da5af75c1c
MXS-3021: Make strictness of dbfwfilter configurable
...
In some cases the dbfwfilter is too strict and SQL that would not match a
rule is blocked due to it not being fully parsed. To allow a more lenient
mode of operation, the requirement for full parsing must be made
configurable.
2020-06-04 08:28:23 +03:00
Markus Mäkelä
ac1e2d4202
Merge branch '2.3' into 2.4
2020-06-03 10:40:24 +03:00
Markus Mäkelä
5380bd65f1
Detect dropped system tables
...
If a test breaks the system by dropping a system database, the replication
check wouldn't detect it.
2020-06-03 10:39:36 +03:00
Esa Korhonen
f74035dc63
MXS-3017 Fix MariaDBMonitor documentation
...
The descriptions of several settings were not updated for 2.4.
2020-06-02 11:16:17 +03:00
Markus Mäkelä
727aeb4a08
Merge branch '2.3' into 2.4
2020-06-02 10:53:05 +03:00
Johan Wikman
8f3a1228e6
2.3 Update maintenance release number
2020-06-02 10:50:30 +03:00
Markus Mäkelä
cb8b4546cb
Don't use client SHA1 for fake responses
...
When a fake handshake response is generated for a connection that hasn't
received the server's handshake, the client's SHA1 would be used with a
static scramble. This, in theory, would weaken the authentication to some
extend so to completely prevent this, a null password is used. This
removes any possibility of the password being exposed.
2020-06-02 10:17:40 +03:00
Markus Mäkelä
11960a1e93
Document transaction_replay_max_size inner workings
...
The documentation didn't explain how to estimate how much memory a
transaction takes and whether it was a global limit or a per session
limit.
2020-06-02 10:17:39 +03:00
Markus Mäkelä
922630f76f
MXS-3019: Fix enum value validation
...
Also added a test case that reproduces the problem and verifies that it is
fixed.
2020-06-01 20:36:59 +03:00
Markus Mäkelä
65bfda445d
MXS-3013: Document /v1/services/:service/reload
2020-06-01 19:40:49 +03:00
Markus Mäkelä
3ef1410f52
MXS-3013: Regenerate MaxCtrl documentation
2020-06-01 12:26:29 +03:00
Markus Mäkelä
4ee7dc7972
Reword --quiet description
2020-06-01 12:26:29 +03:00
Markus Mäkelä
d9fdf3adc1
MXS-3013: Add reload service MaxCtrl command
...
The command currently reloads the users of a service but it can be used to
reload other parts of it as well (e.g. encryption keys).
2020-06-01 12:26:29 +03:00
Markus Mäkelä
f013d3ccd9
MXS-3013: Add reload endpoint for services
...
The endpoint reloads the database users. This can also be used in the
future to refresh encrypted credentials when they are no longer loaded
every time an encrypted password is used.
2020-06-01 12:26:29 +03:00
Markus Mäkelä
2e1b0c5ddf
MXS-2984: Fix list listeners
...
Backported the changed from 2.5 to 2.3 and added a test case.
2020-06-01 12:26:26 +03:00
Markus Mäkelä
ce437bc779
MXS-3016: Rename --monitors to --monitor
...
Renamed the option and changed the type to a string argument. The alias
for --monitors still allows old code to use the same format.
2020-06-01 12:26:26 +03:00
Markus Mäkelä
0f1f9426c3
MXS-2983: Document list option formats
...
The options that take lists of objects as arguments did not properly
document the expected format.
2020-06-01 12:26:26 +03:00
Markus Mäkelä
c3dff9c60c
MXS-3014: Add missing global parameters to REST API
...
A few global parameters weren't included in the list of parameters. A few
non-parameter values that were in the parameter object were moved out into
the attributes object. Sorted the parameter alphabetically.
2020-05-29 08:32:39 +03:00
Markus Mäkelä
e565a6d9b8
Merge branch '2.3' into 2.4
2020-05-28 09:01:49 +03:00
Markus Mäkelä
0907e0f0e5
Add BACKEND_SSL VM type
...
This is needed by tests that use add_test_executable_ex and require
backend SSL. Also fixed a problem in disable_ssl where an empty query was
executed instead of the query itself.
2020-05-27 14:06:51 +03:00
Markus Mäkelä
e2642d64b9
MXS-3010: Fix maxkeys and the test
...
The test doesn't work properly if the maxscale user doesn't exist and the
key file permissions cannot be given to it. The test should use the
current user as the owner of the file but it turned out that the -u option
is broken.
Extended the test case to make sure the same password with the same
encryption key results in the same hash.
2020-05-25 19:45:33 +03:00
Markus Mäkelä
6cc16ac16b
Document idle session behavior with fail_on_write
...
The behavior is not very obvious. To prevent excessive numbers of idle
sessions, a idle timeout should be configured.
2020-05-25 10:27:52 +03:00
Markus Mäkelä
265a0cb449
MXS-3000: Serialize all global parameters
...
Not all parameters were serialized to disk.
2020-05-25 10:27:52 +03:00
Markus Mäkelä
c211bf1a21
Remove old VERSION.cmake files
2020-05-25 09:06:43 +03:00
Markus Mäkelä
136215ecd2
2879: Update Connector-C to 3.1.8
...
This includes a fix that will return the proper error message even if the
connection fails during reconnection.
2020-05-20 08:12:54 +03:00
Markus Mäkelä
62052edbc9
Merge branch '2.3' into 2.4
2020-05-14 09:45:28 +03:00
Markus Mäkelä
7c011b4081
MXS-2998: Fix key-value parsing
...
The code assumed that no value would hold an equals sign which is
wrong. Added a test case that reproduces the problem and verifies the fix.
2020-05-14 09:34:25 +03:00
Markus Mäkelä
6bfefdf124
Merge branch '2.3' into 2.4
2020-05-13 13:53:33 +03:00
Markus Mäkelä
7b4d26e26a
Document prepared statement tmp table limitation
...
Also moved the transaction replay limitations to the limitations section.
2020-05-13 13:48:22 +03:00
Markus Mäkelä
481f6f1aea
Add missing operator=(Connection&&)
...
The move assignment should also be defined if the move construction is
defined.
2020-05-13 13:43:58 +03:00
Johan Wikman
f5c118d27b
Merge branch '2.3' into 2.4
2020-05-13 11:04:18 +03:00
Johan Wikman
b212117fd3
MXS-2990 Fix the problem, treat ! as not
...
If '!' is followed by '=' then it is NOT-EQUAL, otherwise it is
just NOT.
2020-05-13 10:38:07 +03:00
Johan Wikman
9999650bbe
MXS-2990 Add test that reveals problem
...
Had to fix qc_mysqlembedded as well to work with 10.2.
2020-05-13 10:32:39 +03:00
Markus Mäkelä
4cc5fa115a
Merge branch '2.3' into 2.4
2020-05-11 08:42:02 +03:00
Markus Mäkelä
deae315dce
Correct PUT /server documentation
...
The stale state was nonsensical and the drain state was missing.
2020-05-11 08:19:48 +03:00
Markus Mäkelä
4f964ad039
Clarify CCRFilter documentation
...
The example now states that the effects of the filter are only seen by
individual sessions.
2020-05-11 08:19:48 +03:00