Commit Graph

14815 Commits

Author SHA1 Message Date
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
c34b835c51 Build maxbase tests only if BUILD_TESTS in on 2020-04-30 17:55:23 +03:00
20cce59e1b MXS-2976 Reinforce mysqlmon_multimaster test
Compares server states as sets. Stops MaxScale during some cluster
modifications to ensure consistency.
2020-04-30 15:54:57 +03:00
5bc9e0bb0a Merge branch '2.4.9' into 2.4 2020-04-30 11:29:34 +03:00
9ad90caf88 2.4.9 Update release date 2020-04-30 11:24:33 +03:00
324ce467dc 2.4 Update maintenance version 2020-04-29 10:21:53 +03:00
321126660f 2.4.9 Update Change Date 2020-04-29 10:17:14 +03:00
c82f396ebf 2.4.9 Add release notes and update change log 2020-04-29 10:08:19 +03:00
9106392c12 Merge branch '2.3' into 2.4 2020-04-27 15:55:05 +03:00
df01a6e9e0 Merge branch '2.3.19' into 2.3 2020-04-27 15:54:04 +03:00
5b33e03a64 2.3 Update maintenance version 2020-04-27 15:51:46 +03:00
25c5c91fea Update 2.3.19 release date 2020-04-27 15:36:04 +03:00
9a0bcec51c Merge branch '2.3' into 2.4 2020-04-27 10:27:51 +03:00
a38b475e90 Fix add_template
The path to the coniguration file must be an absolute path
(CMAKE_SOURCE_DIR) instead of a relative one
(CMAKE_CURRENT_SOURCE_DIR). This fixes cdc_datatypes.
2020-04-27 10:22:51 +03:00
d3d7054639 Merge branch '2.3' into 2.4 2020-04-24 16:09:20 +03:00
87328228f8 Fix mxs922_monitor
The monitor needs to be unlinked from servers before it is destroyed.
2020-04-24 14:52:23 +03:00
c2b868e8aa Merge branch '2.3' into 2.4 2020-04-23 14:51:11 +03:00
4480debefd MXS-2970: Add test case
Test case reproduces the problem and verifies that it is fixed.
2020-04-23 14:34:38 +03:00
25b8eeb415 MXS-2972: Store servers in the cache key
This allows the set of servers used by the service to also participate in
the cache value resolution. This will prevent the most obvious of problems
but any abstractions of the servers will prevent this from working.
2020-04-23 14:34:38 +03:00
c689aac939 2.3.19 Create release notes and update change log 2020-04-23 14:31:08 +03:00
f527a8f2e6 2.3.19 Update Change Date 2020-04-23 14:23:57 +03:00
9d70f479c7 Rewrite mxs548_short_session_change_user
Use C++11 constructs along with the utilities provided by the newer
testing code.
2020-04-22 21:54:14 +03:00
1b5866e609 MXS-2969: Silence restart output 2020-04-22 15:18:29 +03:00
fe44fd8a87 MXS-2969: Invert user check conditional
The conditional was inverted and the user was created if it already
existed.
2020-04-22 15:18:00 +03:00
e87ad4abb9 Log USE message on info level
This tells us which server gets the USE command.
2020-04-22 09:01:27 +03:00
9efd33186d MXS-2968: Fix direct replication server_id 2020-04-22 09:01:27 +03:00
be567b6029 MXS-2969: Restart MaxScale on upgrade
Renamed the postrm script to prerm since it is executed before
uninstallation.

Silenced the output of the systemctl disable commands and added a
conditional restart of MaxScale if a MaxScale instance is running.

Use getent instead of grep to detect if the maxscale user needs to be
created.
2020-04-21 09:29:16 +03:00
b586aeb6b8 Merge branch '2.4-clx' into 2.4 2020-04-21 01:18:32 +03:00