Commit Graph

14592 Commits

Author SHA1 Message Date
5ebae9be90 Merge branch '2.3' into 2.4 2020-06-05 09:36:24 +03:00
d78aa39765 Update release date 2020-06-05 09:31:45 +03:00
ddb4064563 Fix typo in documentation 2020-06-05 09:31:45 +03:00
aa11c960b1 2.3.20 Update change date 2020-06-05 09:31:45 +03:00
dcf0442127 2.3.20 Add release notes and update change log 2020-06-05 09:31:44 +03:00
00e5cbf51c Merge branch '2.3' into 2.4 2020-06-05 08:36:07 +03:00
d025f5123e MXS-3023: Fix ID generator overflow
The result must always be non-negative.
2020-06-04 15:31:17 +03:00
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
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
ac1e2d4202 Merge branch '2.3' into 2.4 2020-06-03 10:40:24 +03:00
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
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
727aeb4a08 Merge branch '2.3' into 2.4 2020-06-02 10:53:05 +03:00
8f3a1228e6 2.3 Update maintenance release number 2020-06-02 10:50:30 +03:00
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
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
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
65bfda445d MXS-3013: Document /v1/services/:service/reload 2020-06-01 19:40:49 +03:00
3ef1410f52 MXS-3013: Regenerate MaxCtrl documentation 2020-06-01 12:26:29 +03:00
4ee7dc7972 Reword --quiet description 2020-06-01 12:26:29 +03:00
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
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
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
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
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
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
e565a6d9b8 Merge branch '2.3' into 2.4 2020-05-28 09:01:49 +03:00
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
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
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
265a0cb449 MXS-3000: Serialize all global parameters
Not all parameters were serialized to disk.
2020-05-25 10:27:52 +03:00
c211bf1a21 Remove old VERSION.cmake files 2020-05-25 09:06:43 +03:00
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
62052edbc9 Merge branch '2.3' into 2.4 2020-05-14 09:45:28 +03:00
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
6bfefdf124 Merge branch '2.3' into 2.4 2020-05-13 13:53:33 +03:00
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
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
f5c118d27b Merge branch '2.3' into 2.4 2020-05-13 11:04:18 +03:00
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
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
4cc5fa115a Merge branch '2.3' into 2.4 2020-05-11 08:42:02 +03:00
deae315dce Correct PUT /server documentation
The stale state was nonsensical and the drain state was missing.
2020-05-11 08:19:48 +03:00
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
73eba01ce9 Fix cluster sync documentation
The MaxScale instance isn't stopped if the synchronization fails. Added
missing documentation for the command argument.
2020-05-11 07:44:57 +03:00
b4108270dc MXS-2982: Fix documetation link in --help output 2020-05-11 07:44:57 +03:00
a2b5a1aba3 MXS-2980: Forward options to the interactive mode
The --quiet option does not make sense in the interactive mode so it isn't
forwarded.

Added code that reports TLS certificate loading errors. The errors
themselves aren't very exact but at least they give a hint as to why it
failed.
2020-05-11 07:44:56 +03:00
0ddee9613b MXS-2981: Treat missing TLS files as an error
Also treats partially defined TLS files as an error.
2020-05-11 07:44:56 +03:00
910cee3538 MXS-2900 Move more monitor tests to dedicated directory
These tests were added in 2.4.
2020-05-04 21:56:13 +03:00
06bd6f1812 Merge branch '2.3' into 2.4 2020-05-04 21:10:51 +03:00